-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Added protocol CodingKeyRepresentable #34458
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
Merged
benrimmington
merged 36 commits into
swiftlang:main
from
mortenbekditlevsen:stringkeycodable
Oct 30, 2021
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
54414b4
Added protocol StringKeyCodable which allows you to annotate types th…
mortenbekditlevsen 3e9e7dd
Updated the code to be in line with the updated pitch
mortenbekditlevsen 65cb363
Update stdlib/public/core/Codable.swift
mortenbekditlevsen aad2b7d
Update stdlib/public/core/Codable.swift
mortenbekditlevsen 353eb15
Update stdlib/public/core/Codable.swift
mortenbekditlevsen aef4ddb
Update stdlib/public/core/Codable.swift
mortenbekditlevsen 676ec26
Added debugDescription to thrown error
mortenbekditlevsen 2583985
Merge branch 'main' of https://github.com/apple/swift into stringkeyc…
mortenbekditlevsen 5d496ea
Added tests for CodingKeyRepresentable encoding and decoding
mortenbekditlevsen 1800329
Incorporated feedback from Jordan Rose: Int and String conforms to Co…
mortenbekditlevsen 9442a19
Refactoring test_Dictionary_JSON
mortenbekditlevsen 7f260c9
Refactored and expanded test_Dictionary_JSON
mortenbekditlevsen 766a598
Fix some indentation
mortenbekditlevsen 74e03c0
Update test/stdlib/CodableTests.swift
mortenbekditlevsen 0e75b32
Incorporated feedback for tests
mortenbekditlevsen e07b552
Merge branch 'stringkeycodable' of https://github.com/mortenbekditlev…
mortenbekditlevsen a929c33
Updated documentation comment for Dictionary.encode(to:) and CodingKe…
mortenbekditlevsen 4cea780
Added test for non-Int,String RawRepresentable
mortenbekditlevsen 089b0c9
Added tests for dictionaries keyed by UUID and UUIDCodingWrapper
mortenbekditlevsen 8054c78
Added availability checks for all public api
mortenbekditlevsen ec6c172
Also added availability checks for protocol requirements
mortenbekditlevsen e9ad151
Added requested change to cake-abi.json
mortenbekditlevsen 97eb27e
Added requested change to cake.json
mortenbekditlevsen 8b50f48
Remove extra newline at end of file
mortenbekditlevsen 2dce12a
Update cake-abi.json
mortenbekditlevsen ae2430f
Remove newlines at end of cake.json and cake-abi.json
mortenbekditlevsen 03c0adc
Merge branch 'stringkeycodable' of https://github.com/mortenbekditlev…
mortenbekditlevsen bd015f4
Accept documentation comment change suggestions.
mortenbekditlevsen 79f05cc
Updated documentation comments based on suggestions from review
mortenbekditlevsen 6cb65c5
Documentation change: Added serial comma before 'or'
mortenbekditlevsen 729212b
Respect 80-character line limit.
mortenbekditlevsen 0e27ae6
Respect 80-character line limit.
mortenbekditlevsen 9c2dae5
Respect 80-character line limit.
mortenbekditlevsen 46a311b
Respect 80-character line limit.
mortenbekditlevsen 871fc88
Update test/api-digester/Outputs/cake-abi.json
mortenbekditlevsen 27f7abe
Update test/api-digester/Outputs/cake.json
mortenbekditlevsen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.