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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Fixed Tiers API erroring when invalid filter passed #19845

Merged
merged 2 commits into from Mar 12, 2024

Commits on Mar 12, 2024

  1. 馃悰 Fixed Tiers API erroring when invalid filter passed

    ref ENG-730
    ref https://linear.app/tryghost/issue/ENG-730/
    
    We've updated the input serializer to parse the filter, and responded with an
    error if it cannot be parsed correctly.
    
    Now that it's parsed, we can pass a mongo query object through the stack, which
    will lend itself to better typing for this code, which is a direction we want
    to go in anyway. We've had to update all the internal usages of the `browse`
    method to use mongo query objects.
    allouis committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    710069d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3b61ed1 View commit details
    Browse the repository at this point in the history