You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the actions section has "compose" for creating something new from existing data, I think a "create" action should also be added to accommodate creating something from nothing, or something that might not be a direct composition of the inputs e.g. Factory methods. Since only "compose" is included the guide could be misleading as it sounds like compose should be used for all creation actions.
A practical example could be a static factory method for a class e.g.
awaitResource.create(config)
I don't thing compose makes sense in such a case.
The text was updated successfully, but these errors were encountered:
Since the actions section has "compose" for creating something new from existing data, I think a "create" action should also be added to accommodate creating something from nothing, or something that might not be a direct composition of the inputs e.g. Factory methods. Since only "compose" is included the guide could be misleading as it sounds like compose should be used for all creation actions.
A practical example could be a static factory method for a class e.g.
I don't thing compose makes sense in such a case.
The text was updated successfully, but these errors were encountered: