-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Consider combining SystemParam::validate_params and get_params #23179
Copy link
Copy link
Closed
Labels
A-ECSEntities, components, systems, and eventsEntities, components, systems, and eventsC-PerformanceA change motivated by improving speed, memory usage or compile timesA change motivated by improving speed, memory usage or compile timesD-ComplexQuite challenging from either a design or technical perspective. Ask for help!Quite challenging from either a design or technical perspective. Ask for help!S-BlockedThis cannot move forward until something else changesThis cannot move forward until something else changesX-ContentiousThere are nontrivial implications that should be thought throughThere are nontrivial implications that should be thought through
Description
Activity
Metadata
Metadata
Assignees
Labels
A-ECSEntities, components, systems, and eventsEntities, components, systems, and eventsC-PerformanceA change motivated by improving speed, memory usage or compile timesA change motivated by improving speed, memory usage or compile timesD-ComplexQuite challenging from either a design or technical perspective. Ask for help!Quite challenging from either a design or technical perspective. Ask for help!S-BlockedThis cannot move forward until something else changesThis cannot move forward until something else changesX-ContentiousThere are nontrivial implications that should be thought throughThere are nontrivial implications that should be thought through
Type
Projects
- StatusShow more project fieldsDone
@cart says:
IMO the best way to restructure this would be to have
get_paramreturn aResult<Self::Item, SystemParamValidationError>, effectively combining the signature withvalidate_param.