Skip to content

Callbacks covariance and contravariance #56

@mabar

Description

@mabar

Callbacks overriding should work the same way as methods usually work

  • Changing meta may be impossible, same as in Fields invariance #55
  • Input parameters can be less specific (callback-specific rules may apply)
  • Return type may be more specific (callback-specific rules may apply)
  • Callbacks should be validated in scope of all classes which define or change them

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