Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: follow the same JSON:API structure for errors as the JS template #7

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Nov 16, 2022

  1. feat: follow the same JSON:API structure for errors as the JS template

    In the [JS template](https://github.com/mu-semtech/mu-javascript-template/blob/master/helpers/mu/server.js#L30-L35)
    errors get a message passed in which is returned as the title member.
    
    Note that the JS template should also pass status as a member of the
    error obejct, as happens here, but it currently doesn't.
    sergiofenoll committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    4cf2021 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2023

  1. Specific impplementation for error

    It seems to make sense to describe the specific model that may be
    followed because we had to look it up ourselves.  Updating the
    implementation to that.
    madnificent committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    c0d396e View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Deprecated support for **kwargs in error helper

    The error helper now has deprecated support for **kwargs.  Any argument
    that does not belong to the runtime will be warned about.
    madnificent committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    4bcd8d8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3330fb3 View commit details
    Browse the repository at this point in the history