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

Make Granite::Base abstract #322

Merged
merged 3 commits into from
Feb 26, 2019

Conversation

Blacksmoke16
Copy link
Contributor

@Blacksmoke16 Blacksmoke16 commented Feb 22, 2019

Add volume to docker-compose
Bumps crystal version in dockerfile (to get specs to pass)

Since Granite::Base will never be instantiated on its own it should be abstract. This will prevent crystal-lang/crystal#7473 from happening when having multiple possible models as a return type.

Also adds a volume to the docker-compose file so that you wont have to rebuild the spec container after making changes for those changes to be reflected when running spec.

Add volume to docker-compose
@Blacksmoke16
Copy link
Contributor Author

Blacksmoke16 commented Feb 22, 2019

Apparently the volume breaks CI. 🤷‍♂️

Copy link
Member

@robacarp robacarp left a comment

Choose a reason for hiding this comment

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

👍

@Blacksmoke16 Blacksmoke16 merged commit e9f8fe9 into amberframework:master Feb 26, 2019
@Blacksmoke16 Blacksmoke16 deleted the abstract-base branch February 26, 2019 15:19
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.

2 participants