-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.yaml
38 lines (37 loc) · 1.19 KB
/
build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
targets:
$default:
builders:
ferry_generator|graphql_builder:
enabled: true
options:
schema: supabase_playground|lib/graphql/schema.graphql
global_enum_fallbacks: true
type_overrides:
Date:
name: DateTime
DateTime:
name: DateTime
JSON:
name: JsonObject
import: package:built_value/json_object.dart
ferry_generator|serializer_builder:
enabled: true
options:
schema: supabase_playground|lib/graphql/schema.graphql
type_overrides:
Date:
name: DateTime
DateTime:
name: DateTime
JSON:
name: JsonObject
import: package:built_value/json_object.dart
custom_serializers:
- name: DateTimeSerializer
import: package:supabase_playground/graphql/serializer/date_time_serializer.dart
- name: JsonObjectSerializer
import: package:built_value/src/json_object_serializer.dart
json_serializable:
options:
create_field_map: true
create_per_field_to_json: true