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

Disconnect storage from adapter class #552

Merged
merged 1 commit into from
Jan 4, 2017
Merged

Disconnect storage from adapter class #552

merged 1 commit into from
Jan 4, 2017

Conversation

gunthercox
Copy link
Owner

This makes a change to separate the storage adapter from the base Adapter class. This is being done because the methods on the base Adapter class are not needed on the storage adapter.

The main change is that is no longer possible for the storage adapter to access the ChatBot instance. This should not cause any problems because there are no "known" use cases where this is needed.

This also allows a special case to be removed in the class validation utility so that a check to the "Adapter" class is never made. This allows the class validation utility to be more generic.

@gunthercox gunthercox merged commit d81039f into master Jan 4, 2017
@gunthercox gunthercox deleted the storage branch January 4, 2017 13:00
This makes a change to seperate the storage adapter from the base
Adapter class. This is being done because the methods on the base
Adapter class are not needed on the storage adapter.

The main change is that is no longer possible for the storage
adapter to access the ChatBot instance. This should not cause
any probems because there are no "known" use cases where this
is needed.

This also allows a special case to be removed in the class
validation utility so that a check to the "Adapter" class
is never made. This allows the class validation utility to
be more generic.
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.

1 participant