Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow costum stores + make operators configurable in manifest.json #73

Merged
merged 2 commits into from
Jul 25, 2024

Conversation

njakuschona
Copy link

With this pull request we want to introduce the possibility to make costum stores queryable by the dn_querybuilder.
Therfore we adress two main components.

  • Handling a request promise without a total promise.
    • Therefore we proof in QueryController.js wether a total promise is attached. If this it not the cas it just waits until the primary promise resolves
  • Allow to configure the availabe comparison parameters
    • Here it is possible to overwrite in the app.json or manifest.json the "operations" parameter.
      • parameters for the "default" can be overwritten or a new field type can be added
      • a new operator Class can be creatred. Here the field then must have an attribute with the matchin operator Class

The documentation in the Readme is currently quite rudimentary, please comment if it should be extended

{value: "$exists", text: this.i18n.relationalOperators.exists}
];
let type = field.type;
//console.log(field)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bitte entfernen

@sholtkamp sholtkamp merged commit 4ffd9b0 into master Jul 25, 2024
1 check passed
@sholtkamp sholtkamp deleted the support-costum-stores branch July 25, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants