Navigation Menu

Skip to content
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

Convert context testing format from PLIST to YAML #418

Merged
merged 6 commits into from Apr 29, 2018
Merged

Conversation

djbe
Copy link
Member

@djbe djbe commented Apr 29, 2018

Fixes #399.

Old note:
While YAML might be more powerful and allowing us to have much more compact contexts (using anchors and aliases), such contexts would have to be made by hand, they can't be generated automatically (as they are right now).

@AliSoftware
Copy link
Collaborator

Well we could generate YAML, by using YAMS which we already use for config file 😉

@djbe
Copy link
Member Author

djbe commented Apr 29, 2018

Which is better though in this case? I don't have a preference either way.

@djbe
Copy link
Member Author

djbe commented Apr 29, 2018

Keep in mind that we may want to open up this context interface at some point, and JSON is much easier to use in general than YAML (which often needs an extra library to support it).

@djbe
Copy link
Member Author

djbe commented Apr 29, 2018

And I know that YAML is a superset of JSON 😉

@djbe
Copy link
Member Author

djbe commented Apr 29, 2018

Actually, I just proved your point I think? 🤦‍♂️
I'll convert it to YAML files.

@AliSoftware
Copy link
Collaborator

Well json is fine too, I was mainly trolling about your "it's not possible to use YAML" 😅. As you wish; anything is better than plist anyway

@djbe djbe changed the title Convert context testing format from PLIST to JSON Convert context testing format from PLIST to YAML Apr 29, 2018
@djbe djbe merged commit 2a3168d into master Apr 29, 2018
@djbe djbe deleted the feature/json-contexts branch April 29, 2018 23:31
@djbe djbe added this to the Swiftgen 6.0 milestone May 6, 2018
@djbe djbe self-assigned this May 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants