thingsdb / ThingsDB

Node - The ThingsDB Core
https://thingsdb.io
GNU General Public License v3.0
41 stars 3 forks source link

Looking for enumerators in wrong scope #350

Closed joente closed 1 year ago

joente commented 1 year ago

Describe the bug ThingsDB fails when looking for enumerators in a non-collection scope.

To Reproduce

// For example in the @thingsdb scope
A{TEST};

Expected behavior A lookup error should be raised with a suggestion to use a collection scope.