eclipse-thingweb / eclipse-thingweb/node-wot

Handling `default` keyword in `DataSchema`

Open
#681 1 comment 0 reactions 0 assignees View on GitHub
core enhancement
Dominant language
TypeScript
Stars
192
Forks
100
Avg merge
3d 2h
Merged PRs (30d)
6

Description

Not sure how we oversight this detail but the latest version of the [TD DataSchema](https://w3c.github.io/wot-thing-description/#dataschema) has a `default` field. Looking at the `value` function we are not handling this. Where does the default kick in? if the ContentSerders returns 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.