Skip to content

refactor: Applies typedef argument name #1316

@feduke-nukem

Description

@feduke-nukem

Description

Now it looks like:

typedef Applies = Future<bool> Function(RequestContext);

This results in thep0 argument being used within the callback by default. It is better to assign a meaningful name to that argument, such as context.

image

Requirements

  • There is no drop in test coverage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    product: dart frog authIssues related to the Dart Frog Auth libraryrefactorA code change that neither fixes a bug nor add a feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions