- Update GQL Instantiation with latest release
- This release updates the way that gqlgen is initialized and how a server is passed to the router.
- Consumers should reference the official documentation in PR#1004 regarding query complexity.
- Update user dataloader help comment
- The help comment was updated to give a little bit more background on how the dataloaden package works and how it resolves objects to keys, its order specific.
- Add MIT License File
- Update README with PG and run steps
- Add TodoResolver Compile time interface checking
- Update Resolver Image
- Extend README with Resolver Guide
- Additional context added around how to generate a resolver and things to look out for
- Update Dependencies in README
- Addition of dependencies used in the project.
- Update README Dataloader example
- The example in the readme was a bit outdated and its best to just copy the code snippet.
- Makefile limitation noted.
- Add Todo Mutations and Resolvers(Complete/Delete)
- Addition of resolvers and mutation schema for todo deletion/completion. Ideally the request context carries through WHO is initiating the request but building out jwts and the whole shebang is not necessary in the scope of this example project.
- Update User Dataloader
- The dataloader was not properly configured to account for the fact that the keys array is non-sequential which is what the pg query returns. Because of this, the actual hydration of a user was not valid and would return erroneous data. It is imperative that the keys array matches the return value in terms of ids<==>user.
- Update Seed
- The seed has been updated to try and capture different users that belong to a given todo.
- Small bugfix where new todos were created on every prog execution.
- Add Todo Resolvers
- Addition of resolvers to pull all todos or a specific one by id.
- Sample query provided in README
- Add User Dataloaders
- The makefile script has been updated to properly reference the path of the model.
- The key type has been redefined as int from string to account for the fact that the IDs are auto incrementing ids in pg.
- Middleware created with instructions around extensibility.
- Add User Resolvers
- Addition of user resolvers that will pull user data from a db either by id or a collection.
- UserCreate has been implemented as well to allow creation of new users.
- Add Database Seed
- Addition of scripts that will seed the database with tables and data if that data/tables do not already exist against the todos database.
- Add Database Creation Step in Makefile
- Users can now initialize the the creation of the todos database from the makefile if they dont have one.
- Update GraphQL Models to Int from ID
- In the interest of time to not configure and set custom types within gqlgen.yaml(will be done later), the PK values have been updated to Int from ID which GQLGEN defaults to as strings.
- Add Resolvers and Wire Up
- The actual models themselves have been updated to point to the appropriate go model(graphql => go).
- Resolvers split into their respective entities
- Basic wireup of the DB with a pass to the root resolver which will cascade it down to every subsequent resolver.
- Add Schema Models and Routing
- This is a first pass at the schema models definition and general router layout that will coexist in the main call.
- Add initial application structure
- This is a bare bones application structure segregating out the schema, graph, resolvers, dataloaders, and other basic skeleton components.
- Add README and Makefile
- Addition of a README and a Makefile to help users get started with the application. This is still a huge work in progress but a solid starting point in terms of documentation.
- Initial Commit