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

fix: make scope optional and don't send it if undefined #101

Merged
merged 1 commit into from
Jun 19, 2023

Conversation

sebastianvitterso
Copy link
Collaborator

What does this pull request change?

Makes the scope property internally optional as well (optional = allowed to be undefined). Also hides it from requests if it's set to undefined, as per the spec.

Why is this pull request needed?

We didn't adhere to the spec. Now we do (more closely at least).

Issues related to this change

Closes #96.

@sebastianvitterso
Copy link
Collaborator Author

The tests don't seem to work on my machine (two of them fail on main), so I think I'll ask that you address them, @soofstad 😄

@soofstad soofstad force-pushed the fix/hide-scope-if-undefined branch from 1772210 to 51f19be Compare June 19, 2023 12:23
@soofstad soofstad force-pushed the fix/hide-scope-if-undefined branch from 51f19be to 59f0cb7 Compare June 19, 2023 12:27
@soofstad soofstad merged commit 2e7526f into main Jun 19, 2023
@soofstad soofstad deleted the fix/hide-scope-if-undefined branch June 19, 2023 12:34
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.

can't remove scope from request
3 participants