feat: Allow using GameCondition in EntityVehicleCondition and EntityPassengerCondition #11
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Port
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Modding/silicate#11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I've already found this annoying enough having to implement a
RetypedConditionbodge, so this would be much appreciated.I'm thinking of messing with
InvertedConditionso that it's easier to use without retyping.I'm going to make a special Either codec that allows usage of either
GameConditionorTypedGameCondition.Upon further investigation, this introduced unnecessary amounts of boilerplate. Instead, we're going to find alternative avenues of simplification. I believe the easiest way here would be to merged
TypedGameConditionandGameCondition. However, that would present further challenges with regards to Codecs, so the best compromise would be to keep the current system of retyping for the time being.Fixed in
0.4.0usingMaybeTypedConditionbacked by anEithercodec.