I do not thing createSerialOperation should be in gql folder:
https://github.com/deep-foundation/deeplinks/blob/628bc6ab8ab9e9337da253c7aec40150d4e82510/imports/gql/serial.ts#L54-L62
It is used only to enhance strong-typings when using serial. For some reasons serial is unable to provide strong-typings and we should use this until we find another way
Here are proofs:
Shows only fields you should use with insert operation:
Shows all fields, even those you should not use with insert operation:
I do not thing createSerialOperation should be in gql folder: https://github.com/deep-foundation/deeplinks/blob/628bc6ab8ab9e9337da253c7aec40150d4e82510/imports/gql/serial.ts#L54-L62 It is used only to enhance strong-typings when using serial. For some reasons
serial
is unable to provide strong-typings and we should use this until we find another way Here are proofs: Shows only fields you should use with insert operation: Shows all fields, even those you should not use with insert operation: