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 support for extension definition in bolt.yml file #6324

Merged
merged 3 commits into from
Jan 31, 2017

Conversation

rossriley
Copy link
Contributor

Allows locally autoloadable extensions to be added via the bolt.yml file.

@bobdenotter
Copy link
Member

👍

$extensionClass = new $extensionClass();
}
if ($extensionClass instanceof ExtensionInterface) {
$extensionArray[] = $extensionClass;
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we invert and throw an exception as discussed in Slack?

@CarsonF
Copy link
Member

CarsonF commented Jan 31, 2017

Would it be better to do that logic inside of the extend closure? Wouldn't have to have a temp array. Maybe there would be some other benefit from doing it lazily?

@GwendolenLynch GwendolenLynch merged commit 56a054f into bolt:release/3.3 Jan 31, 2017
@bobdenotter
Copy link
Member

Sweet!

@GwendolenLynch GwendolenLynch added this to the Bolt 3.3 - Feature release milestone Mar 17, 2017
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

4 participants