Closed iJungleboy closed 5 months ago
[x] feature request
[x] Razor templating [x] C# development
ATM the As<CustomType>(...) expects a parameter of type ICanBeEntity, but other APIs such as AsItem(...) can receive many more variants of data.
As<CustomType>(...)
ICanBeEntity
AsItem(...)
Goal should be that both can handle the same inputs.
Would replace #3338
I'm submitting a
[x] feature request
...about
[x] Razor templating [x] C# development
Current Behavior / Expected Behavior
ATM the
As<CustomType>(...)
expects a parameter of typeICanBeEntity
, but other APIs such asAsItem(...)
can receive many more variants of data.Goal should be that both can handle the same inputs.
Would replace #3338
Your environment