go-netbox
go-netbox copied to clipboard
Support vor netbox v3.3?
Hello, we are using netbox version v3.3.4 at this point. I tried to use the netbox client with release "netbox_v3.2" and the prerelease "netbox_v3.4". I am facing several incompatibility issues.
json: cannot unmarshal number 35.0 into Go struct field DeviceWithConfigContext.results.position of type int64 json: cannot unmarshal number into Go struct field IPAddress.results.assigned_object of type string cannot unmarshal array into Go struct field IPAddress.results.nat_outside of type models.NestedIPAddress
There are also several unmarshalling problems where referenced objects cannot be unmarshalled to the type "map[string]*string". if its changed to "map[string]any" then its working.
are you planning to release a compatible version vor version 3.3. any time soon?
maybe you can consider the changes i made in my fork and merge them
https://github.com/christophbrejla/go-netbox/compare/master...feature/netbox_v3.3