tradle / serverless-iot-local

MIT License
14 stars 7 forks source link

Don't break if principal() is used in topic query #4

Closed MikeTheReader closed 6 years ago

MikeTheReader commented 6 years ago

Currently, using principal() inside the topic SQL will cause the plugin to fail, since it doesn't have a principal function to use.

This change does not add full support for principal() since it doesn't return any kind of value, but it does keep the plugin from crashing.

mvayngrib commented 6 years ago

@MikeTheReader thanks!

MikeTheReader commented 6 years ago

@mvayngrib You're welcome - a bit self-serving, but I think that's the last of my modifications for a bit. :)

MikeTheReader commented 6 years ago

I know you just upped the version yesterday, but any thoughts on when this might be available in npm? Thanks.

mvayngrib commented 6 years ago

oops, forgot, released as 2.0.1