Replies: 2 comments
-
It would be better to open issue here: PowerPlatform-DataverseModelBuilder. PAC CLI is using this library. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the hint @petrochuk. I've just opened an issue there microsoft/PowerPlatform-DataverseModelBuilder#6 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
we are using pac modelbuilder in version 1.27.6+g9f62afb of the pac cli to generate code.
In one of our projects the generated code does not compile due to inconsistent code. I assume this is due to a name conflict resolution scheme.
We have the following situation (as a reproduction, not the real names)
The code which is generated sums up to this (condensed to the relevant information)
This does not compile as there is no type
crb28_businesstypegroupEnum
defined, as the choice is represented ascrb28_businesstypegroup
.I assume the postfix
Enum
is added in the type reference of the property to mitigate the name conflict with the class name.I know that the naming of the elements is odd, but we have to live with that in this case. Nevertheless, I would expect that the generated code should be consistent in itself.
It is not really hindering us, however if you often update the generated code it gets a little tedious.
If it would be helpful I could provide you a solution with a repro including the used config for the modelbuilder.
Beta Was this translation helpful? Give feedback.
All reactions