Skip to content

Conversation

Alpha018
Copy link
Owner

@Alpha018 Alpha018 commented Sep 9, 2025

No description provided.

Update the retrieval of claims and user metadata to directly access nested
properties, improving readability and reducing unnecessary object spread.

- Modify `ClaimsFactory` and `UserFactory` to access nested properties directly.
- Update tests to validate these changes.
- Refactor e2e tests to use the simplified response structure.
Add a section in the README to explain the separation of `@FirebaseUser` and
`@FirebaseUserClaims`. This clarification addresses potential confusion by
highlighting that `@FirebaseUser` returns the full decoded token while
`@FirebaseUserClaims` provides only the custom claims. Reference issue #11 for
more details on this update.
@Alpha018 Alpha018 self-assigned this Sep 9, 2025
@Alpha018 Alpha018 added bug Something isn't working documentation Improvements or additions to documentation labels Sep 9, 2025
@Alpha018 Alpha018 merged commit cdabd2f into main Sep 9, 2025
2 checks passed
@Alpha018 Alpha018 deleted the fix/problem-decorator branch September 9, 2025 03:09
@Alpha018
Copy link
Owner Author

Alpha018 commented Sep 9, 2025

🎉 This PR is included in version 1.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: FirebaseUser decorator returns nested user object instead of direct DecodedIdToken

1 participant