Document how custom fields are returned from attributes/read_attribute

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 8.0.1
    • Affects Version/s: None
    • Component/s: Docs
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Our current reference documentation for mongoization/demongoization/evolution is the custom field definition - https://www.mongodb.com/docs/mongoid/master/reference/fields/#custom-field-types. This documentation can be expanded to state what is returned from #attributes and #read_attribute methods for custom types, i.e. whether it's a value of the field type or the mongoized value (I expect the latter).

              Assignee:
              Neil Shweky (Inactive)
              Reporter:
              Oleg Pudeyev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: