Nullable enum cast #216
Answered
by
rubenvanassche
juliomotol
asked this question in
Q&A
-
Given the ff setting class: class FooSettings extends Settings
{
public ?DummyEnum $enum = null;
public static function group(): string
{
return 'foo';
}
} When resolving the class, It throws:
For the meantime, we've created a local cast but we'd love to see this supported by the package. |
Beta Was this translation helpful? Give feedback.
Answered by
rubenvanassche
May 11, 2023
Replies: 1 comment
-
Will be fixed in the next release |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
juliomotol
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Will be fixed in the next release