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

feat: added before load event for objects, documents and assets #20

Open
wants to merge 10 commits into
base: 11.x
Choose a base branch
from

Conversation

zoidbergx
Copy link
Member

@zoidbergx zoidbergx commented Oct 17, 2023

Changes in this pull request

Additional info

added pre load events for objects, documents and assets

WHAT

we need to check some stuff before a "entity" (object, document, asset) is loaded and need to be able to return nothing respective throw an exception which is the same as an entity not exists.

As there are no other possiblities to hook in into the DB-queries this seems to be the cleanest solution.

@github-actions
Copy link

Review Checklist

  • Target branch (11.0 for bug fixes, others 11.x)
  • Tests (if it's testable code, there should be a test for it - get help)
  • Docs (every functionality needs to be documented, see here)
  • Migration incl. install.sql (e.g. if the database schema changes, ...)
  • Upgrade notes (deprecations, important information, migration hints, ...)
  • Label
  • Milestone

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