graphjin
graphjin copied to clipboard
Error in Auto Query Replication from webui
What version of GraphJin are you using?
github.com/dosco/graphjin/core/v3 v3.0.0-20230302083035-c647f8a44bda github.com/dosco/graphjin/serv/v3 v3.0.0-20230204233127-c618c2bad99b
Have you tried reproducing the issue with the latest release?
Yes
What is the hardware spec (RAM, OS)?
Ubuntu, 8 GB
Steps to reproduce the issue (config used to run GraphJin).
- Created a query:
Step 2. Open the corresponding graphql file in config directory that graphjin replicates.
Expected behaviour and actual result.
Expected Query Generated:
Replicated query is missing q in query.
uery getUserInfo($username: String) {
currentUser: users_customuser(where: {
username: $username
}){
id,
email,
first_name,
last_name,
username
}
}
Actual Result
query getUserInfo($username: String) {
currentUser: users_customuser(where: {
username: $username
}){
id,
email,
first_name,
last_name,
username
}
}
Thanks will take a look next week.
Any update on this? From what I can tell this issue will always cause the first character to be trimmed from the output. So in my case its removing the # from a comment at the top of the query. For now I'm working around it by using two # for the comments. Unfortunately the WebUI also like to remove comments when you format the query.