Skip to content

Alphabetical properties within classes #57

Description

@nickevansuk

As this PR shows https://github.com/openactive/models-php/pull/89/files occassionally schema.org change the order of the source properties when they change their approach to generating their schema files.

When this happens the PR becomes bloated with reordering changes, which makes it much harder to find issues.

A simple solution to this is to sort the properties that are outputted by the generator alphabetically (as there is no inherent ordering to them in schema.org). This will ensure that they are not affected by such changes, and make it much easier to debug any resulting issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions