Hello,
Ever since I started using Retool I can't stop feeling the word "query" is not the right one for the Resource and JavaScript queries.
Let me explain:
The word "query" is associated with an operation that only reads data and is not changing it.
Here a few cases where Retool breaks this expectation:
-
If you use GraphQL, you create a mutation by creating a Resource query
-
If you use REST and action type is PATCH/PUT/POST, this is still a Resource query
-
The JavaScript queries can do basically anything. They are just async functions. They can delete/add/update data without any restrictions.
Wouldn't it make more sense to use the following names instead:
-
"Requests" for the Resource queries
-
"JavaScript effects" for the JavaScript queries
Am I missing something and the current names actually make complete sense? Let me know what you think