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

Implement scope checking in the existing attribute validator #1298

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

thijskh
Copy link
Member

@thijskh thijskh commented May 8, 2024

Advantages:

  • makes use of existing Engineblock facility
  • vastly reduces code duplication
  • makes it configurable which attributes are subject to the check
  • makes it configurable which attributes will block vs which will only log
  • makes it possible to display scope violation in the debug page already

Todo:

  • Improve exception message to indicate cause of blockage
  • Update functional tests for changed error screen
  • Integrate into debug page
  • Remove now unused previous code

Advantages:
- makes use of existing Engineblock facility
- vastly reduces code duplication
- makes it configurable which attributes are subject to the check
- makes it configurable which attributes will block vs which will only log
- makes it possible to display scope violation in the debug page already

Todo:
- Improve exception message to indicate cause of blockage
- Integrate into debug page
- Remove now unused previous code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant