Skip to content

Way to unset property #1754

@crazynds

Description

@crazynds

Summary

I have a base model that all of my models extend. In this base model, I define some column casts that not all models actually have — but if a model does have those columns, the cast is already defined.

When using this library, it generates documentation for these columns whether they exist on the model or not. I tried to create a hook to remove those properties, but there is no unsetProperty method like there is for the setter counterpart.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions