feat: replace dataclasses-json with Pydantic v2 models#277
Open
feat: replace dataclasses-json with Pydantic v2 models#277
Conversation
Diff for stage: DefaultStageWarning 3 Destructive Changes Diff for stack: GitHubOidcStack - 0 to add, 1 to update, 0 to destroy 🟡DetailsResources
[~] Custom::AWSCDKOpenIdConnectProvider GitHubOidcProvider7EBF861F
├─ [~] CodeHash
│ ├─ [-] 62fa02efcaa700e1c247e1d3cc2aa0cd07a0808a9a3e3d2230e51f57a02233fb
│ └─ [+] d75c48c9f82cde63e9bf414df335e84e8ac24f11eb34889be255b702aec71e50
└─ [~] RejectUnauthorized
[~] AWS::Lambda::Function CustomAWSCDKOpenIdConnectProviderCustomResourceProviderHandlerF2C543E0
├─ [~] Code
│ └─ [~] .S3Key:
│ ├─ [-] 62fa02efcaa700e1c247e1d3cc2aa0cd07a0808a9a3e3d2230e51f57a02233fb.zip
│ └─ [+] d75c48c9f82cde63e9bf414df335e84e8ac24f11eb34889be255b702aec71e50.zip
└─ [~] Metadata
└─ [~] .aws:asset:path:
├─ [-] asset.62fa02efcaa700e1c247e1d3cc2aa0cd07a0808a9a3e3d2230e51f57a02233fb
└─ [+] asset.d75c48c9f82cde63e9bf414df335e84e8ac24f11eb34889be255b702aec71e50
Diff for stack: Service-prod - 3 to add, 3 to update, 3 to destroy ❌Details
Resources
[-] AWS::ApiGateway::Deployment AuthApiDeploymentB62B2E46e6df84b588a887363a13ab29adc3623c destroy
[-] AWS::ApiGateway::Deployment TokenApiDeploymentB896C219b16a73c2bacf13dff150a851137e236c destroy
[-] AWS::ApiGateway::Deployment ProfileApiDeployment84A54415e0158c62574d24c31b8dbd21e82873c4 destroy
[+] AWS::ApiGateway::Deployment AuthApiDeploymentB62B2E46b5c04cfbd7bd117a1ee4f8acc7bb74f8
[+] AWS::ApiGateway::Deployment TokenApiDeploymentB896C2197f4fd8f40928d8ff6b65325e6f60c797
[+] AWS::ApiGateway::Deployment ProfileApiDeployment84A54415afa95090416ea0bbd4b1d2aac5a9241c
[~] AWS::Lambda::Function AuthApiHandlerED50ACFA
├─ [~] Code
│ └─ [~] .S3Key:
│ ├─ [-] 1527c534dc3ec24d621d57e297d669e22dc2ace57cbcae6d6da540d42832a147.zip
│ └─ [+] ed7e87e2db39c0e074698ca2e241fe8d0a8ada3082e574bdaf594fc154f83713.zip
└─ [~] Metadata
└─ [~] .aws:asset:path:
├─ [-] asset.1527c534dc3ec24d621d57e297d669e22dc2ace57cbcae6d6da540d42832a147
└─ [+] asset.ed7e87e2db39c0e074698ca2e241fe8d0a8ada3082e574bdaf594fc154f83713
[~] AWS::Lambda::Function TokenApiHandler2E66DB25
├─ [~] Code
│ └─ [~] .S3Key:
│ ├─ [-] 1527c534dc3ec24d621d57e297d669e22dc2ace57cbcae6d6da540d42832a147.zip
│ └─ [+] ed7e87e2db39c0e074698ca2e241fe8d0a8ada3082e574bdaf594fc154f83713.zip
└─ [~] Metadata
└─ [~] .aws:asset:path:
├─ [-] asset.1527c534dc3ec24d621d57e297d669e22dc2ace57cbcae6d6da540d42832a147
└─ [+] asset.ed7e87e2db39c0e074698ca2e241fe8d0a8ada3082e574bdaf594fc154f83713
[~] AWS::Lambda::Function ProfileApiHandler9B65A298
├─ [~] Code
│ └─ [~] .S3Key:
│ ├─ [-] 1527c534dc3ec24d621d57e297d669e22dc2ace57cbcae6d6da540d42832a147.zip
│ └─ [+] ed7e87e2db39c0e074698ca2e241fe8d0a8ada3082e574bdaf594fc154f83713.zip
└─ [~] Metadata
└─ [~] .aws:asset:path:
├─ [-] asset.1527c534dc3ec24d621d57e297d669e22dc2ace57cbcae6d6da540d42832a147
└─ [+] asset.ed7e87e2db39c0e074698ca2e241fe8d0a8ada3082e574bdaf594fc154f83713
[~] AWS::Lambda::Function ApiHandler5E7490E8
├─ [~] Code
│ └─ [~] .S3Key:
│ ├─ [-] 1527c534dc3ec24d621d57e297d669e22dc2ace57cbcae6d6da540d42832a147.zip
│ └─ [+] ed7e87e2db39c0e074698ca2e241fe8d0a8ada3082e574bdaf594fc154f83713.zip
└─ [~] Metadata
└─ [~] .aws:asset:path:
├─ [-] asset.1527c534dc3ec24d621d57e297d669e22dc2ace57cbcae6d6da540d42832a147
└─ [+] asset.ed7e87e2db39c0e074698ca2e241fe8d0a8ada3082e574bdaf594fc154f83713
[~] AWS::ApiGateway::Stage AuthApiDeploymentStageprodB0E4172A
└─ [~] DeploymentId
└─ [~] .Ref:
├─ [-] AuthApiDeploymentB62B2E46e6df84b588a887363a13ab29adc3623c
└─ [+] AuthApiDeploymentB62B2E46b5c04cfbd7bd117a1ee4f8acc7bb74f8
[~] AWS::ApiGateway::Stage TokenApiDeploymentStageprod11035AE4
└─ [~] DeploymentId
└─ [~] .Ref:
├─ [-] TokenApiDeploymentB896C219b16a73c2bacf13dff150a851137e236c
└─ [+] TokenApiDeploymentB896C2197f4fd8f40928d8ff6b65325e6f60c797
[~] AWS::ApiGateway::Stage ProfileApiDeploymentStageprodF609D968
└─ [~] DeploymentId
└─ [~] .Ref:
├─ [-] ProfileApiDeployment84A54415e0158c62574d24c31b8dbd21e82873c4
└─ [+] ProfileApiDeployment84A54415afa95090416ea0bbd4b1d2aac5a9241c
[~] AWS::Lambda::Function ChannelApiHandler02759D57
├─ [~] Code
│ └─ [~] .S3Key:
│ ├─ [-] ca37232fdfd500adbaa06e972c23a68046efd788f7781db21a059050cda4a508.zip
│ └─ [+] ed67903b2562365ca62b76f3b5597b8c1504a33bbd1a7d90af8f896eda82859c.zip
└─ [~] Metadata
└─ [~] .aws:asset:path:
├─ [-] asset.ca37232fdfd500adbaa06e972c23a68046efd788f7781db21a059050cda4a508
└─ [+] asset.ed67903b2562365ca62b76f3b5597b8c1504a33bbd1a7d90af8f896eda82859c
No Changes for stack: Frontend-prod ✅ Generated for commit 768bca2 at 2026-03-06T04:55:51.406Z |
Coverage reportClick to see where and how coverage changed
The report is truncated to 25 files out of 38. To see the full report, please visit the workflow summary page. This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
b8622d5 to
d3f99af
Compare
d3f99af to
768bca2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
BSOOutput,ModifiedOutput,BatchResultOutput,AccountCreateOutput,ProfileOutput,TokenOutput, etc.) across 21 routesdataclasses-jsonDataClassJsonMixinwith PydanticBaseModelfor DynamoDB models (BasicStorageObject,CollectionData,UserRecord) via aDynamoModelbase class that handles Decimal/datetime coercionto_item()methods on DynamoDB models for complete item serialization (replaces_encode_*methods in StorageManager/UserManager)dataclasses-jsondependency and all dead helpers (DecimalEncoder,json_dumps,datetime_encoder/decoder,float_to_decimal,validate_sortindex,validate_ttl)enable_validation=Trueon all API routers withRequestValidationError/ResponseValidationErrorhandlersTest plan
dataclasses-jsonfully removed from dependencies (+ transitivemarshmallow,typing-inspect)