Skip to content

2xic-speedrun/tiny-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graphql speedrun

don't use this, it's just a speedrun project

This was supposed to be a project for me to play some more with go with a codebase that I thought would allow be to visit more aspects of go in a short amount of time.

The plan was to implement as much as possible of the GraphQL spec ( https://spec.graphql.org/October2021/ ) in a week (ish). The point was never to complete everything, but more having it as a common thread to write the go code around.

Results

  • See the test files for what use cases have been tested.
  • Super basic parser was written
    • Will parse basic GraphQL schemas, but does not have full support for fragments.
    • Does parse types, but have not tested with dict / array passing, I think I only made it parse, but not correctly store it in the parsed schema.
  • Super basic schema processor was written
    • Parses a schema
      • Uses user defined resolvers to resolve the objects / fields from the schema.
    • Does not enforce types currently.

About

tiny graphql implementation - (not for production)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published