You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, copyStruct() func is searching fields in the target struct by the field's name.
This search is done by 1-to-1 mapping of field names, so ID != Id.
This behavior should be changed, so fields mapping is done in a better way.
Options are:
case-insensitive search (probably, easier in short term)
use struct tags for field naming (requires adding tags to all models in Terraform resources and MikroTik client packages)
The text was updated successfully, but these errors were encountered:
Currently, copyStruct() func is searching fields in the target struct by the field's name.
This search is done by 1-to-1 mapping of field names, so
ID != Id
.This behavior should be changed, so fields mapping is done in a better way.
Options are:
The text was updated successfully, but these errors were encountered: