-
Notifications
You must be signed in to change notification settings - Fork 34
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
add new "morph" and "refresh" action types for turbo-stream, issue #772 #773
add new "morph" and "refresh" action types for turbo-stream, issue #772 #773
Conversation
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.
Thanks for the contribution. Please, keep the old constructor but deprecate it and add the new constructor.
* Morph only the children of the element designated by the target dom id. | ||
*/ | ||
private final boolean childrenOnly; | ||
|
||
@Nullable | ||
private final Object template; | ||
|
||
TurboStream(@NonNull TurboStreamAction action, |
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.
keep the old constructor and annotate it with @Deprecated
and also add @deprecated
javadoc indicating to use the new one.
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.
good catch, have added it back
No description provided.