selfprivacy.org.app/build.yaml

20 lines
512 B
YAML

targets:
$default:
builders:
graphql_codegen:
options:
scalars:
DateTime:
type: DateTime
fromJsonFunctionName: dateTimeFromJson
toJsonFunctionName: dateTimeToJson
import: package:selfprivacy/utils/scalars.dart
JSON:
type: Map<String, dynamic>
clients:
- graphql
json_serializable:
options:
create_factory: true
create_to_json: true