How do resolvers get mapped? #7
Description
Using the example from the README, I get:
File "/app/tractionapp/traction/init.py", line 28, in
api_1 | schema = make_executable_schema(
api_1 | File "/usr/local/lib/python3.8/site-packages/ariadne/executable_schema.py", line 33, in make_executable_schema
api_1 | obj.bind_to_schema(schema)
api_1 | AttributeError: 'function' object has no attribute 'bind_to_schema'
I don't see how you are binding the resolver to the schema? Looking at the resolver code, you aren't using a decorator to do it or .set_field().
If I take out resolve_auth_token from make_executable_schema then at least the server will run but ariadne throws an error when you attempt to execute the mutation in playground because no token is returned as the resolver code is never run.