palantir / palantir/conjure-python
Surface which field is failing in schema validation
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 27
- Forks
- 19
- Avg merge
- 12h 22m
- Merged PRs (30d)
- 15
Description
When building the conjure object itself, ex:
item = ItemConjureInstance(
id=id,
val=val
)
validation works fine and doesn't throw an error,
but in the API definition when validating the output, I'd get an error like:
{"message": "Output type check failed with exception: Expected to find <class 'str'> type but found <class 'int'> instead"}
It doesn't tell me which exact field failed - slowing down debug cycles.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing output type validation in the API definition path and reproduce the reported mismatch between a string field and an integer value. Done means the validation error identifies the exact field that failed, while preserving the existing type-check behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100