Skip to content
This repository has been archived by the owner on Feb 7, 2018. It is now read-only.

Add backwards-compatibility and deprecate stuff #31

Closed
wants to merge 5 commits into from

Conversation

marten
Copy link
Contributor

@marten marten commented Jul 19, 2013

I'm bound to have forgotten some features, so let me know. I'm trying to make it so that you can simply `require 'pavlov/alpha_compatibility' and have all old code keep working.

Stuff that isn't backwards compatible:

  • Instantiating operations outside of helpers: Queries::Foo.new(arg1, arg2) breaks, because it's the Pavlov.query etc methods that transform old-style *args into new-style hash.

@tomdev tomdev mentioned this pull request Jul 23, 2013
@marten
Copy link
Contributor Author

marten commented Jul 27, 2013

I've opened #34 for the removal of the built-in specific operation types (interactors/commands/queries) in favor of generated classes.

The other thing this branch does is deprecate Pavlov::Helpers but maybe this should only be done when the backend is completed.

I'll close this pull request now without merging.

@marten marten closed this Jul 27, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant