-
Notifications
You must be signed in to change notification settings - Fork 161
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
WritableDeviceInterface Enabled is not added to query #54
Comments
Looking into this further this seems to be an issue with how omitempty functions
if the value is false it is treated as 0, and doesn't get marshaled https://www.sohamkamani.com/blog/golang/2018-07-19-golang-omitempty/ |
@clienthax, Thaks to open this issue. I am looking for a solution for this though, is there any way to generate |
I am fairly new to Go and this is actually being used in one of my first projects, So I don't have any good solutions here |
@kobayashi running into |
Setting Enabled to false will result in it not being added to the query, however setting it to true will add it when using the update/create interface functions.
The text was updated successfully, but these errors were encountered: