Skip to content

Allow for URL to be maintained as a part of backend identifiers in the frontend #1007

@andrewtavis

Description

Terms

Description

This issue is related to the work in #1004 to directly return camelCase from the backend. One downside of this is specifically URL, where the conversion of _url will go to Url. All instances of URL were thus changed to Url for simplicity of conversion, but it would be nice to include a custom parser that inherits from djangorestframework-camel-case that would allow for URL to be returned instead.

Along with this we need to discuss if we'd do the same with _id to convert it to ID instead of Id. Other identifiers should also be considered :)

Contribution

Happy to discuss and work on this once #1004 is merged in!

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

    blockedAnother issue is blockinghelp wantedExtra attention is needed

    Projects

    • Status

      Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions