You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I am trying to obtain timetables with datatools-ui and datatools-server.
Do You know a good way to connect to graphql to make queries inside datatools-server code?
When i try to access database with GraphQL class then i have errors so i did a hook inside doQuery method however ill need to obtain data about trip patterns with hour and minute of departure and every stop and schedule for every stop.
It wont be nice to make this with just hook in doQuery, so my question is if i can somehow access graphql data independly ?
Thank You in advance.
The text was updated successfully, but these errors were encountered:
Hello thanks for leaving an issue! Yes the graphql api is accessible without needing to use the datatools_ui. However, requests will be rejected unless you have DISABLE_AUTH enabled in your env.yml
@miles-grant-ibigroup does it mean that requests to graphql only work when disable auth0 is set to true? I understand that it works default also when it's set to false and you use an auth0 token?
Hello. I am trying to obtain timetables with datatools-ui and datatools-server.
Do You know a good way to connect to graphql to make queries inside datatools-server code?
When i try to access database with GraphQL class then i have errors so i did a hook inside doQuery method however ill need to obtain data about trip patterns with hour and minute of departure and every stop and schedule for every stop.
It wont be nice to make this with just hook in doQuery, so my question is if i can somehow access graphql data independly ?
Thank You in advance.
The text was updated successfully, but these errors were encountered: