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

[Sign] Feature: #252 Update session namespaces checks against required namespaces #276

Merged
merged 6 commits into from
Jun 21, 2022

Conversation

sekimondre
Copy link

closes #252

Changes

  • WCSession updateNamespaces now throws and checks the namespaces against the required namespaces.
  • SessionNamespace Extension now has a superset check.
  • Unit tests for updateNamespaces success and failure cases.

@sekimondre sekimondre added the enhancement New feature or request label Jun 16, 2022
@sekimondre sekimondre self-assigned this Jun 16, 2022
@llbartekll llbartekll merged commit 0aff90b into develop Jun 21, 2022
@llbartekll llbartekll deleted the feature/#252-required-namespace-check branch June 21, 2022 10:41
@flypaper0 flypaper0 mentioned this pull request Jul 5, 2022
llbartekll pushed a commit that referenced this pull request Jul 5, 2022
…d namespaces (#276)

* Set required namespaces in session creation

* Add basic checks to required namespaces

* Changed updateNamespaces to throw errors

* Add basic tests for valid & invalid update

* Add failure tests, implemented checks on namespace extensions

* Test small improvements

Co-authored-by: André Vants <andrevants@icloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants