mirror of
https://github.com/Airsequel/AirGQL.git
synced 2025-10-08 19:00:41 +02:00
- I realised by PK querying doesn't need arguments like filter, limit or offset, so I removed the argument name collision logic I added in the last commit - I implemented the actual logic for querying by PK. The code is a lot shorter due to the new introspection system - I moved the normal queries to the new introspection system for consistency. - I moved the logic of "coerce columns without a datatype" away from the resolver and into the "sql -> gql" converter as to be able to reuse the default introspection resolver which simply looks up fields into the parent resolver's result. - I added some comments documenting the Introspection.Resolver stuff and it's behaviour |
||
---|---|---|
.. | ||
Introspection | ||
Servant | ||
Types | ||
Config.hs | ||
ExternalAppContext.hs | ||
GQLWrapper.hs | ||
GraphQL.hs | ||
Introspection.hs | ||
Lib.hs | ||
Raw.hs | ||
ServerUtils.hs | ||
Utils.hs |