Greg MacWilliam

Results 43 comments of Greg MacWilliam

Is this not completely avoidable doing something like...? ```ruby class Query < GraphQL::Schema::Object field :mentions, Mention.connection_type do argument :ticket_id, ID end def mentions(ticket_id:) Ticket.find_by(id: ticket_id)&.mentions end end ``` Call me...

Both Query and Schema support setting a static validator into which you can customize the rules. So, just write your own rule and add it to the set along with...

Looking at this again a bit closer, my main reservation of the new system is that it leaves unreachable elements in the schema, which is a bit of a "soft"...