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

Separate annotations from core schema type #29

Merged
merged 7 commits into from
Dec 4, 2019
Merged

Conversation

serras
Copy link
Collaborator

@serras serras commented Dec 3, 2019

Before definitions like the id for ProtoBuf were part of the schema. However, that meant that we could not retro-fit the same schema for different purposes. This PR separates these two concepts and updates the Template Haskell code, so examples don't need to change.

This change will be properly documented in #31

@serras serras requested a review from kutyel December 3, 2019 15:09
@serras
Copy link
Collaborator Author

serras commented Dec 4, 2019

The Travis failure is so weird. How can it fail in the PR but not in the branch? Furthermore, it seems completely non-reproducible in my machine, with either LTS or Nightly.

@serras
Copy link
Collaborator Author

serras commented Dec 4, 2019

Now I understand, the problem is that it's conflicting with the seed example, which is not yet merge.
@kutyel could you try adding {-# language TypeFamilies #-} to your Definition file in that example, and then run the build again? Thanks 🙇

@kutyel
Copy link
Member

kutyel commented Dec 4, 2019

Apparently it didn't work 😖

@serras
Copy link
Collaborator Author

serras commented Dec 4, 2019

I am fairly confident that now it should work. Please review and merge if it's green :)

Copy link
Member

@kutyel kutyel left a comment

Choose a reason for hiding this comment

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

Looks good! 👏

@kutyel kutyel merged commit 1a96bcf into master Dec 4, 2019
@kutyel kutyel deleted the separate-annotations branch December 4, 2019 11:35
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