Since you are fighting my own battles (gqlgen and go) can I ask you how are you dealing with the hot topic of validations?
E.g. from your example:
input ImageCreateInput {
postId: ID!
views: Int
originalUrl: String
}
how to validate that e.g. views is max = 30 or originalUrl != ""?
Since you are fighting my own battles (gqlgen and go) can I ask you how are you dealing with the hot topic of validations?
E.g. from your example:
how to validate that e.g.
viewsismax = 30ororiginalUrl != ""?