Skip to content

Unlogged "me" query now returns null. #54

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

Merged
merged 2 commits into from
Feb 21, 2020

Conversation

moufmouf
Copy link
Member

Until now, the unloggued query was actually returning a user whose name was "anon.".
This originates from a weird behaviour of Symfony.
"me" should return null if noone is logged.

Note this is a potential breaking change for clients implementing the "me" query, but since no one complained about the current behaviour that makes no sense, I'll assume this feature is not used wildly yet.

If this PR introduce breaking changes in your code, please notify me.

Until now, the unloggued query was actually returning a user whose name was "anon.".
This originates from a weird behaviour of Symfony.
"me" should return null if noone is logged.

Note this is a potential breaking change for clients implementing the "me" query, but since no one complained about the current behaviour that makes no sense, I'll assume this feature is not used wildly yet.

If this PR introduce breaking changes in your code, please notify me.
@moufmouf moufmouf merged commit 16f1bf3 into thecodingmachine:master Feb 21, 2020
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.

1 participant