-
Notifications
You must be signed in to change notification settings - Fork 39
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
feat: Support edit api v2 #1581
Conversation
|
This reverts commit c8b0652.
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.
Wow, I see a lot of work to make this v2 happen ! Well done :)
Through my tests and your documentation I see that the new API doesn't check validity on each change, so it seems to be a by design decision before your implementation.
I might be wrong but I also doesn't see any validation trigger elsewhere : I can make modification and download my file without any validation.
I'm not very aware of the board decisions, but it seems to be a regression from the v1 perspective (that being said, it seems buggy in the actual instance with the v1, so it might be the reason of the removal)
packages/plugins/test/integration/editors/GooseSubscriberDataBinding.test.ts
Show resolved
Hide resolved
packages/plugins/test/integration/editors/GooseSubscriberMessageBinding.test.ts
Show resolved
Hide resolved
The missing validate event after edit events is a bug, thanks for catching it. I will look into fixing the functionality. The validation before editing (like checking if ids are unique on create etc) are dropped on purpose. |
Wow, it was just due to the missing |
derived
andcheckValidity
will be ignoredid
was unique in the document)editCount
,canUndo
andcanRedo
. The history addon is the owner of this state, before there were multiple components storing and changingeditCount