Skip to content

feat(tools): support Json type for DRF JSONField and render as {Json}#91

Open
0RAJA wants to merge 1 commit intomainfrom
feat/schema_json_field
Open

feat(tools): support Json type for DRF JSONField and render as {Json}#91
0RAJA wants to merge 1 commit intomainfrom
feat/schema_json_field

Conversation

@0RAJA
Copy link
Collaborator

@0RAJA 0RAJA commented Oct 20, 2025

  • Map serializers.JSONField to FieldType.JSON
  • Keep nested serializer properties as dict for stable comparisons
  • Update tests to expect {Json} rendering and schema type

BREAKING CHANGE: JSONField is now exposed as Json type in schema and render output, not String.

@0RAJA 0RAJA requested a review from PlasticTong October 20, 2025 13:41
@codecov-commenter
Copy link

codecov-commenter commented Oct 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.30%. Comparing base (37d5657) to head (3e9f614).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #91      +/-   ##
==========================================
+ Coverage   82.29%   82.30%   +0.01%     
==========================================
  Files         101      101              
  Lines        3665     3668       +3     
==========================================
+ Hits         3016     3019       +3     
  Misses        649      649              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

1. workflows/unittest: 统一 Python 为 3.10;在 act 环境跳过 Codecov
2. workflows/publish_pypi: 统一 Python 为 3.10;在 act 环境跳过发布
3. Makefile: 新增 ci-local/test/install/venv/clean;新增 lint-actions/ci-check

Signed-off-by: raja <1647193241@qq.com>
@0RAJA 0RAJA force-pushed the feat/schema_json_field branch from e723788 to 3e9f614 Compare October 23, 2025 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants