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

Add child_spec/1 #39

Merged
merged 1 commit into from Dec 16, 2017
Merged

Add child_spec/1 #39

merged 1 commit into from Dec 16, 2017

Conversation

odarriba
Copy link
Contributor

Adding this version of child_spec/0 allow to use this Elixir 1.5 feature:
https://github.com/elixir-lang/elixir/blob/v1.5/CHANGELOG.md#streamlined-child-specs

So the connection can be included in the app's supervision tree by doing just:

children = [
  supervisor(MyApp.Endpoint, []),
  MyApp.InfluxConnection
]

@mneudert mneudert changed the base branch from master to v0.17 December 16, 2017 12:04
@coveralls
Copy link

Coverage Status

Coverage remained the same at 98.516% when pulling 2f9642f on odarriba:patch-1 into 6ee0527 on mneudert:v0.17.

Repository owner deleted a comment from coveralls Dec 16, 2017
Repository owner deleted a comment from coveralls Dec 16, 2017
@mneudert mneudert merged commit 7e87ebd into mneudert:v0.17 Dec 16, 2017
@mneudert
Copy link
Owner

❤️ 💙 💛 💜 💚

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.

None yet

3 participants