Skip to content

Unable to define custom options for relationships #136

Open
hadronzoo opened this Issue Aug 5, 2011 · 1 comment

3 participants

@hadronzoo

One is currently able to define custom options for properties:

class Property
    accept_options :custom_option
end

However, the assert_valid_options method in the DataMapper::Model::Relationship module makes it impossible to easily add custom options to relationships, which are useful for some plugins. DataMapper should offer something similar to accept_options for relationships.

@myabc myabc closed this Aug 10, 2011
@myabc myabc reopened this Aug 10, 2011
@myabc myabc closed this Aug 10, 2011
@myabc myabc reopened this Aug 10, 2011
@systemed

Also very keen on this idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.