Morten Bo Rønsholdt
05/09/2019, 6:20 AMThe first character of each value must be an uppercase letter.
. although when you auto-generate a schema.graphql all the enums are lowercase like this: enum DeviceOrderByInput {
apnsToken_ASC
apnsToken_DESC
createdAt_ASC
createdAt_DESC
fcmToken_ASC
fcmToken_DESC
id_ASC
id_DESC
}
why the inconsistency and any way to make it consistent?nuno
05/09/2019, 10:29 AMorderBy
fields when fetching lists and are named after your type's fields. If those values where all uppercase, it would be inconsistent with the respective field names. The enum values you define in your datamodel are kept uppercase in the generated schema.graphql.