brad
October 13, 2022, 7:42pm
1
What gets changed in the API file when switching query to custom?
As you can see in the video below, when switching a query in the query builder to custom it dirties the file without actually changing anything.
It then asks to save the file before closing. What has changed when switching to custom?
George
October 13, 2022, 8:07pm
2
Well changing the query type is already a change, no matter if you go back.
brad
October 13, 2022, 8:09pm
3
But what gets changed in the code? Isn’t this then dangerous to switch views?
George
October 13, 2022, 8:21pm
4
The code between simple query and custom query is very different even if the end result might be the same.
brad
October 13, 2022, 8:25pm
5
So then it is a very bad idea to do it unless you have no other choice.
I was hoping that switching views would allow me to see the results of the query (which it does). But I see that is now a bad idea. There should be a warning or something?
sid
October 14, 2022, 3:49am
6
Use Git and see every single thing that might have changed.
For experimenting with “running” a query, I would recommend to just duplicate the step, convert to custom, run it, then delete the step.
1 Like
Teodor
October 14, 2022, 6:25am
7
With Wappler 5.2 you can see the results from the normal queries in the query builder as well:
anofm
October 14, 2022, 6:47am
8
I get an error after update to 5.2
Teodor
October 14, 2022, 6:52am
9
If you have any issues, please create a separate topic with detailed explanation what is wrong.
brad
October 14, 2022, 3:33pm
10
I don’t get that in a normal query? Nothing has changed. I’m on a Mac.
Teodor
October 14, 2022, 3:40pm
11
You need to enable the experimental features
1 Like
brad
October 14, 2022, 3:42pm
12
Ah! There it is! Love it! Thanks!
Best new feature since v5 was released.
2 Likes