-
Notifications
You must be signed in to change notification settings - Fork 27
feat(Error): convert array of errors to object with indexed errors - I86 #107
Conversation
Signed-off-by: Bastien Wermeille <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had a chat with @irmerk to understand what is needed here, and as far as I can see, this looks spot on.
awesome! Let's make sure we get the corresponding issue in cicero-ui resolved as well so the ErrorLogger can handle this new object. Great job! |
Hi @Ph0tonic! I wanted to let you know that @flagoon is working on the corresponding issue in cicero-ui here: accordproject/cicero-ui#137, so it might make sense to connect with them and see if you can test the two out together! 😃 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. Great changes! I'm going to merge this in and we can iron out any possible bugs through Cicero-UI #167
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, would you update cicero-ui
in the package.json
to v0.1.3
?
Yes of course, here it's. |
Signed-off-by: Bastien Wermeille <[email protected]>
Issue #86
Right now, the errors get added to an array every time a clause is parsed. This means if multiple changes cause a clause to be parsed multiple times, the same error will be added to the array multiple times and we end up with multiple of the same error.
Changes
Flags
Related Issues