Skip to content
This repository has been archived by the owner on Apr 5, 2021. It is now read-only.

space before field name in comma delimited list of fields is considered as part of field name #91

Open
gopala000 opened this issue Feb 20, 2020 · 1 comment
Labels

Comments

@gopala000
Copy link

example: id, school.name,school.city,school.state,school.zip
output:

{
    "errors": [
        {
            "error": "field_not_found",
            "input": " school.name",
            "message": "The input field ' school.name' (in the fields parameter) is not a field in this dataset."
        }
    ]
}

expected:
field list need to be trimmed during validation

@JAFrederick
Copy link

Thanks for pointing this out. I definitely agree that fields should be trimmed during validation.

I am going to transfer this issue to the Open Data Maker repository. Open Data Maker is the API layer for this application. This repository is scoped for the College Scorecard front-end specifically.

@JAFrederick JAFrederick transferred this issue from RTICWDT/college-scorecard Feb 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants