Skip to content

Error in middleware intro example (doc) #841

Open

Description

@bitranch

Bug

Package Version: 7.0.2

Code

The middleware example on https://dojo.io/learn/middleware/introduction (framework/blob/master/docs/en/middleware/introduction.md in the repo) has a bug in this line:

<div>{`Middleware property value: ${properties.middlewareProp}`}</div>

That should be properties().middlewareProp -- otherwise it only produces undefined no matter what.

Expected behavior:

The example code should run as written.

Actual behavior:

The line always produces undefined.

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