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

API REST Console Query Parameters with "keys" doesn't work as expected #2521

Open
4 tasks done
jaysonng opened this issue Jan 18, 2024 · 1 comment
Open
4 tasks done
Labels
type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@jaysonng
Copy link

jaysonng commented Jan 18, 2024

New Issue Checklist

Issue Description

using keys={"key"} in query parameters in API Console doesn't return results with the key(s) only as expected but returns nothing but the objectId, createdAt, updatedAt keys which I did not want. even objectId, createdAt, updatedAt should not be given.

Steps to reproduce

use keys={"key"} on a class in the REST API Console

Actual Outcome

{
    "results": [
        {
            "objectId": "Ciptig0mA9Nwpd6ri9uF4t81rTUOO2YE",
            "createdAt": "2024-01-18T17:40:05.894Z",
            "updatedAt": "2024-01-18T17:40:05.894Z"
        }
    ]
}

Expected Outcome

{
    "results": [
        {
            "key": "value"
        }
    ]
}

Environment

Dashboard

  • Parse Dashboard version: 5.3
  • Browser (Safari, Chrome, Firefox, Edge, etc.): Safari
  • Browser version: 17.1

Server

  • Parse Server version: 6.3
  • Operating system: Mac OS 14.1.1
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): local

Database

  • System (MongoDB or Postgres): Postgres
  • Database version: 15.2
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): Local

Logs

Copy link

parse-github-assistant bot commented Jan 18, 2024

Thanks for opening this issue!

  • 🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.

@mtrezza mtrezza added the type:bug Impaired feature or lacking behavior that is likely assumed label Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

No branches or pull requests

2 participants