Fix variable shadowing in checkAttrs error message #96

Merged
marijn merged 1 commit from nperez0111/prosemirror-model:check-attrs into main 2026-05-18 14:19:39 +02:00
Contributor

There was some variable shadowing that was causing the error message to be not be helpful. This does a minor rename so that we can have both name & attr, so the error messages are useful

There was some variable shadowing that was causing the error message to be not be helpful. This does a minor rename so that we can have both `name` & `attr`, so the error messages are useful
marijn merged commit 0dc1c23bf9 into main 2026-05-18 14:19:39 +02:00
Owner

Thanks!

Thanks!
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
prosemirror/prosemirror-model!96
No description provided.