Skip to content

raise when #{obj}_params doesn't exist #181

Open

Description

@smtlaissezfaire

I'm having an incredibly hard time upgrading an app that was using version 2.

Can you add a mode where it raises if expose(:obj) is called without an obj_params method? Having silent failures is killer.

Obviously it would be better if this was a "compile" time error, although I understand that it would probably be much easier to implement as a run time error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions