-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
fix(Object#_fromObject
): extraParam
should not be passed to options
#8295
Conversation
extraParam
should not be passed to optionsObject#_fromObject
): extraParam
should not be passed to options
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.
The following shapes use extraParams
:
- Polyline
- Polygon
- Path
- Text, IText, Textbox
Path is the only one safeguarded from this case
I am for deprecating
|
Co-authored-by: Andrea Bogazzi <[email protected]>
This could be an idea, but i dont' want to add it on top of all the rest is changing. Is like if group would have objects in the options. There is a clearly distintive trait of each object that was added there. We can think of adding it with backward compatibility after 6.0 is released, and deprecate for 7.0, as point does. |
I have another point for the class discussion regarding safegurading |
I propose the |
) Co-authored-by: Andrea Bogazzi <[email protected]>
fixes #8294
but I think we should make assigning strict