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 initialize with unrecognized settings #117

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

feltech
Copy link
Member

@feltech feltech commented Jul 16, 2024

Part of OpenAssetIO/OpenAssetIO#1202.

Disallowing unrecognized settings almost certainly precludes using BAL as part of a hybrid plugin, since it is likely the other constituent plugins will have different settings keys, and the hybrid plugin system will pass the same settings dict to all child plugins.

As a result, the corresponding test in the API compliance suite will be removed from the core OpenAssetIO distribution, effectively relaxing the restriction that unrecognized keys should trigger an exception.

So remove the check for unknown settings keys, and corresponding API compliance suite fixtures.

@feltech feltech self-assigned this Jul 16, 2024
@feltech feltech requested a review from a team as a code owner July 16, 2024 13:48
Copy link
Collaborator

@SamCrooksFoundry SamCrooksFoundry left a comment

Choose a reason for hiding this comment

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

Nice and simple

Part of OpenAssetIO/OpenAssetIO#1202.

Disallowing unrecognized settings almost certainly precludes using BAL
as part of a hybrid plugin, since it is likely the other constituent
plugins will have different settings keys, and the hybrid plugin system
will pass the same settings dict to all child plugins.

As a result, the corresponding test in the API compliance suite will be
removed from the core OpenAssetIO distribution, effectively relaxing the
restriction that unrecognized keys should trigger an exception.

So remove the check for unknown settings keys, and corresponding API
compliance suite fixtures.

Signed-off-by: David Feltell <[email protected]>
@feltech feltech merged commit 465795f into OpenAssetIO:main Jul 19, 2024
18 checks passed
@feltech feltech deleted the work/allowUnknownSettings branch July 19, 2024 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants