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(authentication): Ensure authentication.entity configuration can be null #3136

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

psi-4ward
Copy link
Contributor

If the authentication does not need a (user)-service one can set authentication.entity = null which disables service validation but the base authenticationSchema does not allow using null in a config-json.

If the authentication does not need a (user)-service one can set `authentication.entity = null` which [disables service validation](https://github.com/feathersjs/feathers/blob/dove/packages/authentication/src/service.ts#L181) but the base authenticationSchema does not allow using `null` in a config-json.
@daffl daffl changed the title Fix authentication.entity can not be null fix(authentication): Ensure authentication.entity configuration can be null Mar 31, 2023
@daffl daffl merged commit c47349b into feathersjs:dove Mar 31, 2023
@daffl
Copy link
Member

daffl commented Mar 31, 2023

Great, thank you for the quick fix!

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.

None yet

2 participants