Skip to content

Enum parsing should be case insensitive #371

Description

@robbiemcmichael

I'm working on a GitHub App and noticed that some of the enums in webhook payloads have a different capitalisation to the normal webhook payloads. This is pretty amazing since I assumed it would be the same code for both, but apparently not.

Either way, I think it would be a good idea to make enum parsing case insensitive to make the library more resilient to strange API implementations like this from GitHub's end.

I'm happy to do the implementation, just wanted to get a yes/no on the idea before I do the work.

No activity

Activity on this issue will appear here.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions