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

Current user has different attributes in brainstem-redux collection #24

Open
aefhm opened this issue Feb 14, 2017 · 3 comments
Open

Current user has different attributes in brainstem-redux collection #24

aefhm opened this issue Feb 14, 2017 · 3 comments
Assignees
Labels

Comments

@aefhm
Copy link

aefhm commented Feb 14, 2017

Scenario:

  • Fetch a collection of users with include for roles association.
  • The currentUser is at the beginning handled by the me endpoint which returns only default attributes and extra currentUser info without the standard associations as declared by the presenter
  • When inspecting brainstem storageManager directly, the currentUser has the correct role id, but inspecting brainstem redux store shows the currentUser without the role id from fetch.
@aefhm
Copy link
Author

aefhm commented Feb 14, 2017

True as of 68f9bff5e4c0908fb7950d4b2214a57f4bd02305

@aefhm aefhm self-assigned this Feb 14, 2017
@aefhm
Copy link
Author

aefhm commented Feb 14, 2017

Jason and I are interested and would love to contribute to this work. Just noting the issue here.

@juanca
Copy link
Contributor

juanca commented Feb 14, 2017

This seems like an issue on mavenlink/mavenlink instead of this open-source repo...

Or perhaps a mavenlink/brainstem-js issue.

mavenlink/brainstem-redux copies the attributes object into the store.

@aefhm aefhm added the question label Apr 27, 2017
@aefhm aefhm removed their assignment Mar 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants