Skip to content

Added a new example using Falcon and graphene-sqlalchemy - #166

Open
somada141 wants to merge 3 commits into
graphql-python:masterfrom
somada141:feature/falcon-example
Open

Added a new example using Falcon and graphene-sqlalchemy#166
somada141 wants to merge 3 commits into
graphql-python:masterfrom
somada141:feature/falcon-example

Conversation

@somada141

Copy link
Copy Markdown
Contributor

Some time ago I put together an example utilising Falcon and graphene-sqlalchemy. It can be found under https://github.com/somada141/demo-graphql-sqlalchemy-falcon.

The example demonstrates setting up the SQLAlchemy ORM schema, representing it in GraphQL through graphene-sqlalchemy, and performing queries and mutations.

It also demonstrates how to use the GraphQL AST to limit the SQLAlchemy queries to only the fields requested in the GraphQL query.

@somada141

Copy link
Copy Markdown
Contributor Author

Just realised the build fails cause its trying to run the tests out of my example, will fix

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 91.854% when pulling f850b81 on somada141:feature/falcon-example into 33d5b74 on graphql-python:master.

3 similar comments
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 91.854% when pulling f850b81 on somada141:feature/falcon-example into 33d5b74 on graphql-python:master.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 91.854% when pulling f850b81 on somada141:feature/falcon-example into 33d5b74 on graphql-python:master.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 91.854% when pulling f850b81 on somada141:feature/falcon-example into 33d5b74 on graphql-python:master.

@FabriceSalvaire

Copy link
Copy Markdown

Thanks to share ! It's an interesting use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment