Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Change the way you add query parameters #120

Closed
NikitaShchienko opened this issue May 1, 2021 · 0 comments
Closed

Change the way you add query parameters #120

NikitaShchienko opened this issue May 1, 2021 · 0 comments
Assignees
Milestone

Comments

@NikitaShchienko
Copy link
Contributor

Currently, adding a parameter and editing it is carried out in the table. You need to add a Query parameter editor screen with the main fields to edit the parameter:

  • Name
  • Type
  • Entity (For entity type)
  • Default value

Screen:
image

@NikitaShchienko NikitaShchienko added this to the 1.0.0 milestone May 1, 2021
@m-orlova m-orlova self-assigned this May 11, 2021
m-orlova pushed a commit that referenced this issue May 17, 2021
If the entities are selected by query, QueryStepFragment appears as the third step. The initial query that is shown in QueryStepFragment is generated by JpqlQueryBuilder depending on the properties selected in the second step.
If there are parameters in the query it is possible to generate report parameters but it is required to set the actual type for them. Additionally, it is possible to add a default value for the parameter (except a list of entities).
The query is regenerated and created parameters are reset if the new region is added or properties are changed.
m-orlova pushed a commit that referenced this issue May 21, 2021
If the entities are selected by query, QueryStepFragment appears as the third step. The initial query that is shown in QueryStepFragment is generated by JpqlQueryBuilder depending on the properties selected in the second step.
If there are parameters in the query it is possible to generate report parameters but it is required to set the actual type for them. Additionally, it is possible to add a default value for the parameter (except a list of entities).
The query is regenerated and created parameters are reset if the new region is added or properties are changed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants