Skip to content

Add type Thing #144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Citrullin opened this issue Oct 14, 2021 · 4 comments
Closed

Add type Thing #144

Citrullin opened this issue Oct 14, 2021 · 4 comments

Comments

@Citrullin
Copy link

Add

"@type": "Thing"
@benfrancis
Copy link
Member

My understanding is that this isn't actually necessary as it's assumed by WoT TD consumers?

@Citrullin
Copy link
Author

My understanding is that this isn't actually necessary as it's assumed by WoT TD consumers?

Well, yes, but apparently it makes some problems in some use-cases. And it doesn't really hurt. So, why not?

@benfrancis
Copy link
Member

Well, yes, but apparently it makes some problems in some use-cases.

Can you be more specific?

And it doesn't really hurt. So, why not?

Unnecessary verbosity.

@Citrullin
Copy link
Author

Well, yes, but apparently it makes some problems in some use-cases.

Can you be more specific?

And it doesn't really hurt. So, why not?

Unnecessary verbosity.

It was mentioned in one meeting. I don't remember anymore. Well, yes it is verbose. It's already a very verbose JSON in general. You can also question JSON for small devices in general. On the other hand the WoT TD doesn't get requested very often. You can cache it easily. Or use a discovery service which caches it. So, I don't see the verbose part as not such a big deal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants