Make sure that your PR fulfills these requirements:
[x] Tests have been added for this feature.
[x] Code is properly documented.
[x] All tests pass on your local machine.
[x] Code has been linted with the proper rules.
[x] I have added the correct assignees for code review.
:page_facing_up: Description
This PR adds support for config values that require to be arrays. You can define arrays with the types string[], boolean[] and number[]. This PR also changes how the casting behaves when casting for types that contain string and something else. Before, for the type [string, number], the value would be kept as a string, whereas now, the value will be casted into any other type or be kept as a string if the casting failed.
:pencil: Checklist
Make sure that your PR fulfills these requirements:
:page_facing_up: Description
This PR adds support for config values that require to be arrays. You can define arrays with the types
string[]
,boolean[]
andnumber[]
. This PR also changes how the casting behaves when casting for types that containstring
and something else. Before, for the type[string, number]
, the value would be kept as a string, whereas now, the value will be casted into any other type or be kept as a string if the casting failed.:pushpin: Does this PR address any issue?
42