Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

:writer and :writer_visibility #223

Open
adiel-mittmann opened this Issue · 0 comments

1 participant

@adiel-mittmann

In order to define the visibility of writers, :writer must be used with properties and :writer_visibility with relationships:

class User
  include DataMapper::Resource
  property :name, String, :writer => :private
  belongs_to :company, :writer_visibility => :private
end

The same thing applies to readers. It would be nice if the same symbol was used for both purposes.

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.