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

Example of @angular-redux/form with ImmutableJS #45

Open
1 of 3 tasks
adros opened this issue Oct 3, 2017 · 1 comment
Open
1 of 3 tasks

Example of @angular-redux/form with ImmutableJS #45

adros opened this issue Oct 3, 2017 · 1 comment

Comments

@adros
Copy link

adros commented Oct 3, 2017

This is a...

  • feature request
  • bug report
  • usage question

Environment

NodeJS Version: latest
Typescript Version: latest
Angular Version: latest
@angular-redux/store version: latest
@angular/cli version: (if applicable)
OS: Linux

Additional Notes:

Could you provide an example of how to use immutable store state with angular forms?

@angular-redux/form declares that ImmutableJS integration is provided seamlessly, but I cannot get it work.
I have problem with @angular/forms which does not work if I connect a form with immutable instance (Map or Record).

I would say that forms does not support ImmutableJS as 'model' (because of FormGroup.prototype._checkAllValuesPresent) and maybe I should ask this at @angular/forms, but as long as you declare that you support it, I think that I am doing something wrong.

@smithad15
Copy link
Member

From my understanding this was previously implemented using some introspection techniques in order to convert to/from Immutable objects. I'm not sure if the Immutable abilities have been tested for some time unfortunately. Can you please provide a reproduction of where you are having issues?

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

No branches or pull requests

2 participants