Skip to content

Better warning message for missing Box custom methods #68

Description

@ppaulojr

We could modify the Assertion code to handle better cases where the developer forgot to write the code to handle the custom Box.

    SEL mappingSelector = NSSelectorFromString([NSString stringWithFormat:@"boxValueAs%@:", mappingType]);
    AssertTrueOrReturnNoBlock([self respondsToSelector:mappingSelector], ^(NSError *error) {
    });

In the AssertTrueOrReturnNoBlock we could print the expected selector.

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