[FEATURE] fromJson
factory on generated '...Result` types.
#630
Labels
enhancement
New feature or request
fromJson
factory on generated '...Result` types.
#630
Normally there are created
fromJson
factories in the generated code, which is very conventient to use when iterating through columns with map:This factory (which is generated):
makes it possible to use code like:
There
OrdLn
is one of the generated base classes.But if I add some additional fields in my query, like theese LEFT JOINS:
The result will not be
OrdLn
butGetOrderOrdLnsResult
which does not havefactory GetOrderOrdLnsResult.fromJson...
sadly this factory is timeconsuming to create manually... and breaks the dynamic with "automagic" creation as it is now.
It would have been VERY convenient if this factory for the
...Result
was created too.The text was updated successfully, but these errors were encountered: