-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
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
feat: Add default trait support #803
Commits on Aug 28, 2024
-
Add default value handling to SwiftSymbolProvider.
Sichan Yoo committedAug 28, 2024 Configuration menu - View commit details
-
Copy full SHA for 0dc4736 - Browse repository at this point
Copy the full SHA 0dc4736View commit details -
Add default value handling for generating expected body when generati…
…ng expected HTTP response in protocol tests.
Sichan Yoo committedAug 28, 2024 Configuration menu - View commit details
-
Copy full SHA for b779a3c - Browse repository at this point
Copy the full SHA b779a3cView commit details -
Add more comprehensive default value handling for deserialization, al…
…so add error correction for server failing to send a required value in response by filling with zero or zero-equivalents.
Sichan Yoo committedAug 28, 2024 Configuration menu - View commit details
-
Copy full SHA for cd7bf76 - Browse repository at this point
Copy the full SHA cd7bf76View commit details -
Modify ShapeExt::defaultValue logic to handle an optional value havin…
…g a default value.
Sichan Yoo committedAug 28, 2024 Configuration menu - View commit details
-
Copy full SHA for 266d1b4 - Browse repository at this point
Copy the full SHA 266d1b4View commit details -
Handle edgecase where floating point value has integer default value …
…given in trait.
Sichan Yoo committedAug 28, 2024 Configuration menu - View commit details
-
Copy full SHA for d2a7486 - Browse repository at this point
Copy the full SHA d2a7486View commit details -
Provide zero-equivalent error correction default value for enums by u…
…sing .sdkUnknown case.
Sichan Yoo committedAug 28, 2024 Configuration menu - View commit details
-
Copy full SHA for b5d8f8f - Browse repository at this point
Copy the full SHA b5d8f8fView commit details -
Handle JSON number value equality with loosened restriction (JSON han…
…dles 2 and 2.0 the same, as numbers)
Sichan Yoo committedAug 28, 2024 Configuration menu - View commit details
-
Copy full SHA for b9325f5 - Browse repository at this point
Copy the full SHA b9325f5View commit details -
Sichan Yoo committed
Aug 28, 2024 Configuration menu - View commit details
-
Copy full SHA for da6d9e8 - Browse repository at this point
Copy the full SHA da6d9e8View commit details -
Fix enum case name codegen for default value
Sichan Yoo committedAug 28, 2024 Configuration menu - View commit details
-
Copy full SHA for 6135529 - Browse repository at this point
Copy the full SHA 6135529View commit details
Commits on Aug 29, 2024
-
Fix int enum value handling & address future Swift 6 error warning by…
… using Foundation.Data() to convert string to data. Use symbol's property bag to set flag for importing Data outside of SwiftSymbolProvider.
Sichan Yoo committedAug 29, 2024 Configuration menu - View commit details
-
Copy full SHA for 80bdb80 - Browse repository at this point
Copy the full SHA 80bdb80View commit details -
Refactor blob and document shape type default value codegen to reduce…
… duplication.
Sichan Yoo committedAug 29, 2024 Configuration menu - View commit details
-
Copy full SHA for c560e74 - Browse repository at this point
Copy the full SHA c560e74View commit details -
Use flag for importing Foundation.Data set by SwiftSymbolProvider (wh…
…en handling blob shape) and add import.
Sichan Yoo committedAug 29, 2024 Configuration menu - View commit details
-
Copy full SHA for 9bcb4a0 - Browse repository at this point
Copy the full SHA 9bcb4a0View commit details -
Sichan Yoo committed
Aug 29, 2024 Configuration menu - View commit details
-
Copy full SHA for b811037 - Browse repository at this point
Copy the full SHA b811037View commit details -
Refactor to use when{} as expression; return no default value instead…
… of throwing error in MemberShapeDecodeGenerator for null node case.
Sichan Yoo committedAug 29, 2024 Configuration menu - View commit details
-
Copy full SHA for ce6dcf3 - Browse repository at this point
Copy the full SHA ce6dcf3View commit details -
Sichan Yoo committed
Aug 29, 2024 Configuration menu - View commit details
-
Copy full SHA for 9f187c1 - Browse repository at this point
Copy the full SHA 9f187c1View commit details
Commits on Aug 30, 2024
-
Sichan Yoo committed
Aug 30, 2024 Configuration menu - View commit details
-
Copy full SHA for d8b9190 - Browse repository at this point
Copy the full SHA d8b9190View commit details -
Sichan Yoo committed
Aug 30, 2024 Configuration menu - View commit details
-
Copy full SHA for ddb5587 - Browse repository at this point
Copy the full SHA ddb5587View commit details -
Configuration menu - View commit details
-
Copy full SHA for 573b725 - Browse repository at this point
Copy the full SHA 573b725View commit details -
Sichan Yoo committed
Aug 30, 2024 Configuration menu - View commit details
-
Copy full SHA for f9d7eef - Browse repository at this point
Copy the full SHA f9d7eefView commit details
Commits on Sep 4, 2024
-
Merge main into feat/default-trait-support branch.
Sichan Yoo committedSep 4, 2024 Configuration menu - View commit details
-
Copy full SHA for e73f0db - Browse repository at this point
Copy the full SHA e73f0dbView commit details -
Use closure to handle dependency import for the default value resolve…
…d by SwiftSymbolProvider at a later time when the resolved symbol gets used by SwiftWriter. Also, fix timestamp value handling and add logic for date-time case as well.
Sichan Yoo committedSep 4, 2024 Configuration menu - View commit details
-
Copy full SHA for 120940c - Browse repository at this point
Copy the full SHA 120940cView commit details -
Merge branch 'main' into feat/default-trait-support
Sichan Yoo committedSep 4, 2024 Configuration menu - View commit details
-
Copy full SHA for 71b8c93 - Browse repository at this point
Copy the full SHA 71b8c93View commit details -
Sichan Yoo committed
Sep 4, 2024 Configuration menu - View commit details
-
Copy full SHA for 52716db - Browse repository at this point
Copy the full SHA 52716dbView commit details
Commits on Sep 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 56cc412 - Browse repository at this point
Copy the full SHA 56cc412View commit details