You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning number 23
(No file name)
All the fields are already explicitly listed in this record. You can remove the `...` spread.
It's not obvious where the problem is until you check the code generated by PPX where spread is used in the generated setter.
The text was updated successfully, but these errors were encountered:
synaptiko
changed the title
When defining StateLenses with a single field a warning is triggered
A warning is triggered when defining StateLenses with a single field
Feb 24, 2020
Here's an example:
The warning will be:
It's not obvious where the problem is until you check the code generated by PPX where spread is used in the generated setter.
The text was updated successfully, but these errors were encountered: