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
Just some quick notes so we can remember our exact plans for this bundle.
Automatic ObjectType generation
Our goal is to have all database fields accessible by default. As such we need to automatically generate an ObjectType for each database table.
A single Generator object is used to generate an ObjectType for each table. The exact method of generating the ObjectType, its corresponding arguments and its field resolvers can be further customized with a Resolver class. Any table that is not linked to a Resolver will use a generic one.
Resolvers are configurable via Symfony's Service Containers.
Most object types will have a singular and plural form, returning a single object or a list of objects respectively. Single objects can be resolved automatically by ID or other unique fields of the table.
Possible Roadmap
Caching of generated ObjectTypes
Blacklist for whole tables/types
Blacklist for fields
Custom types (e.g. to expose any 3rd party API via a GraphQL API over Contao)
Authentication (possibly generic to remain unopinionated in that regard)
Automatic (and customizable) mutations
The text was updated successfully, but these errors were encountered:
Just some quick notes so we can remember our exact plans for this bundle.
Automatic ObjectType generation
Our goal is to have all database fields accessible by default. As such we need to automatically generate an
ObjectType
for each database table.A single Generator object is used to generate an
ObjectType
for each table. The exact method of generating theObjectType
, its corresponding arguments and its field resolvers can be further customized with aResolver
class. Any table that is not linked to aResolver
will use a generic one.Resolvers are configurable via Symfony's Service Containers.
Most object types will have a singular and plural form, returning a single object or a list of objects respectively. Single objects can be resolved automatically by ID or other unique fields of the table.
Possible Roadmap
ObjectType
sThe text was updated successfully, but these errors were encountered: