in queries, allow conditional include param in key column e.g {{appsmith.URL.queryParams.id ? 'id' : null}}
Why should this be worked on?
there are API endpoint where you can not have a param with empty value e.g id=
an example use case would be:
make request to get a list
click a button to resend request but with a filtering param
wanted result:
allow conditional include param in key column e.g {{appsmith.URL.queryParams.id ? 'id' : null}}
currently work around is create duplicate query with an id key
this isn't ideal if the page has multiple button to filter, and over long run maintenance of many almost identical queries adds up
Is there an existing issue for this?
Summary
in queries, allow conditional include param in key column e.g {{appsmith.URL.queryParams.id ? 'id' : null}}
Why should this be worked on?
there are API endpoint where you can not have a param with empty value e.g
id=
an example use case would be: make request to get a list click a button to resend request but with a filtering param
wanted result: allow conditional include param in key column e.g {{appsmith.URL.queryParams.id ? 'id' : null}}
currently work around is create duplicate query with an id key this isn't ideal if the page has multiple button to filter, and over long run maintenance of many almost identical queries adds up