We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
settings.py
"JSON_UNDERSCOREIZE": { # ... "ignore_fields": ("order_update", ), # ... }
Still got output response:
{ "orderUpdate": { "items": [ { "parent": null, "type": "tax", "description": "Sales taxes", "amount": 350, "currency": "usd" } ], "shipping_methods": [ { "id": "free_shipping", "description": "Free 7-day shipping", "amount": 0, "currency": "usd", "delivery_estimate": { "type": "exact", "date": "2020-08-11" }, "tax_items": [] } ] } }
The text was updated successfully, but these errors were encountered:
Agree, can reproduce the issue at will. However, the proposed fix may alter the problem.
Sorry, something went wrong.
#89 does (roughly) what I wanted, however I have to admit that ignore_fields was coded with a different intention - see this comment:
#80 (comment)
Is this ignore keys pr going to get added soon? I would also benefit from this as I'm trying to turn a field 'id' to '_id'. Thanks!
Successfully merging a pull request may close this issue.
settings.py
Still got output response:
{
"orderUpdate": {
"items": [
{
"parent": null,
"type": "tax",
"description": "Sales taxes",
"amount": 350,
"currency": "usd"
}
],
"shipping_methods": [
{
"id": "free_shipping",
"description": "Free 7-day shipping",
"amount": 0,
"currency": "usd",
"delivery_estimate": {
"type": "exact",
"date": "2020-08-11"
},
"tax_items": []
}
]
}
}
The text was updated successfully, but these errors were encountered: