You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Investigate the feasibility of using gqlgen to generate go types which are sufficient for use with go-pg's DB.Model() API.
Origin Document
Foundational.
Goals
Streamline effort required to add and maintain E2E go test suites.
Deliverables
Add a comment in this issue which includes the results of the investigation, sufficient to answer questions like:
Can gqlgen handle the subquery schema.graphql (it may contain extra syntax, like @entity and @json).
1a. If no, is there an alternative that is?
Are gqlgen's (or an alternative) generated types compatible with go-pg's DB.Model API?
2a. If no, is there an alternative to go-pg which offers a similarly simplistic interface for querying and deserializing data from postgres.
2b. If no, what is the level and shape of effort required to bridge the gap between generated go types and go-pg's lower-level APIs (e.g. DB.QueryContext()).
Non-goals / Non-deliverables
Any code or dependency updates (investigation only).
Objective
Investigate the feasibility of using
gqlgen
to generate go types which are sufficient for use withgo-pg
'sDB.Model()
API.Origin Document
Foundational.
Goals
Deliverables
gqlgen
handle the subquery schema.graphql (it may contain extra syntax, like@entity
and@json
).1a. If no, is there an alternative that is?
gqlgen
's (or an alternative) generated types compatible withgo-pg
'sDB.Model
API?2a. If no, is there an alternative to
go-pg
which offers a similarly simplistic interface for querying and deserializing data from postgres.2b. If no, what is the level and shape of effort required to bridge the gap between generated go types and
go-pg
's lower-level APIs (e.g.DB.QueryContext()
).Non-goals / Non-deliverables
Creator: @bryanchriswhite
Co-Owners: [sign up here!]
The text was updated successfully, but these errors were encountered: