course-work/build.yaml

18 lines
453 B
YAML
Raw Normal View History

2022-12-26 15:28:16 +00:00
targets:
$default:
builders:
graphql_codegen:
options:
scalars:
DateTime:
type: DateTime
fromJsonFunctionName: dateTimeFromJson
toJsonFunctionName: dateTimeToJson
import: package:selfprivacy/utils/scalars.dart
clients:
- graphql
json_serializable:
options:
create_factory: true
create_to_json: true