Skip to content

Documentation of dataobject is incorrect #3

@pboling

Description

@pboling

First, I must say, I love the project, and I love the DSL choices you are making. I think I have found a bug in the documentation.

In both the 0.3.0 tag, and in HEAD, the README appears wrong.

In the unwrapped and composite section:

  dataobject :metadata, unwrapped: true, prefix: "meta"

In the validating nested DTOs section:

  dataobject :address, of: AddressDto

In both cases there need to be two ordinal arguments, and it doesn't seem like of is a thing yet.

The last one only works as:

  dataobject :address, AddressDto

The first one can't work because it doesn't have the object class in arguments at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions