Skip to content

Add Set converter#119

Merged
sidepelican merged 2 commits intoomochi:mainfrom
sidepelican:set
Apr 18, 2024
Merged

Add Set converter#119
sidepelican merged 2 commits intoomochi:mainfrom
sidepelican:set

Conversation

@sidepelican
Copy link
Collaborator

@sidepelican sidepelican commented Apr 17, 2024

Setの変換をサポートします。

SwiftのSetはJSON表現では配列と同等となるため、JSON型は配列になっています。デコーダで配列をJavaScriptのSetに変換します。
特に機能的な大きな変更はなく、既存のConverterと同様の実装となっています。

omochi/TypeScriptAST#41 が入るまでSetのシンボルが認識できないので、CIは落ちます。

@omochi
Copy link
Owner

omochi commented Apr 17, 2024

なるほど

Copy link
Owner

@omochi omochi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ありがとうございます、良いと思います

@sidepelican sidepelican merged commit c813031 into omochi:main Apr 18, 2024
@sidepelican sidepelican deleted the set branch April 18, 2024 02:12
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.

2 participants