Hacker News new | ask | show | jobs
by diveanon 2057 days ago
And that is why you used gql codegen and typing to limit their capability to do so.

Part of the benefit of gql that people often overlook is its self documenting nature and when tied with automation tools its ability to provide a lot of flexibility for developers without compromising you db.

The gql server is ultimately what is responsible for this, and we use schema introspection to ensure the searchable / sortable fields are only exposed if indexed.

1 comments

Should I go back into my archives and look over the number of technologies leaning on code generation and model introspection that failed to catch on?