Skip to content

pac modelbuilder build does not output Custom API methods in a consistent order #25

Description

@filcole

I have a Custom API that has not changed. When I re-ran pac modelbuilder build --settingsTemplateFile .\builderSettings.json --outDirectory . to after removing some unrelated tables from the entityNamesFilter section in builderSettings.json.

I was surprised to see the a big diff in the file created for message xxx_BookingRule.cs.

Here is the top of the xxx_BookingRuleRequest class
image

Here is the bottom of the xxx_BookingruleRequest class - you can see the fields are the same, just in a different order.
image

I'd expect the methods to be output in a consistent order (alphabetically).

Note: the xxx_BookingruleResponse class was output in an unchanged order (no diffs)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions