dojo / dojo/framework

Error in middleware intro example (doc)

Open
#841 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
623
Forks
78
PR merge metrics
No merged PRs in 30d

Description

**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:

```typescript

{`Middleware property value: ${properties.middlewareProp}`}

```

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`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.