Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

New viur.bone.relational.notFoundStrategy config #97

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

phorward
Copy link
Member

This config switch allow to run different strategies on how valid, but non-existing keys to references should be handled by the ViUR system. Default is "raise", but "report" or "ignore" can also be used.

Currently this switch only affects when a server module is manually calling skel.setBoneValue(), so fromClient() still fails with invalid data.

Can it be useful to enhance fromClient also to the notFoundStrategy-switch?

This Pull Requests also does some imports refactoring on relationalBone.

This config switch allow to run different strategies on how valid, but non-existing keys to references should be handled by the ViUR system. Default is "raise", but "report" or "ignore" can also be used.

Currently this switch only affects when a server module is manually calling skel.setBoneValue(), so fromClient() still fails with invalid data.

Can it be useful to enhance fromClient also to the notFoundStrategy-switch?
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant