bendemaree / falcon-graphene

Helpers for registering Graphene schemas in Falcon.
18 stars 3 forks source link

Is this example outdated? #1

Closed odarbelaeze closed 6 years ago

odarbelaeze commented 6 years ago

In the README file you have something like falcon_graphene.register(api, RootQuery), but I don't see the register function defined anywhere, furthermore the example doesn't mention it anymore, is it just outdated or am I missing something?

bendemaree commented 6 years ago

Hello @odarbelaeze! Sorry for the confusion; I’ll get the example and the readme updated today. Thanks for raising the issue. 😊

bendemaree commented 6 years ago

Hey @odarbelaeze; sorry for the delay. I updated the main README with the toy server in examples/clocks.py, which uses the newer GrapheneRouter (which replaced the register(api, query) style.

Let me know if you have any other difficulties, suggestions, etc. The project is pretty new still, as you have probably gathered. 😉