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
It should be easy to leverage the Connector components to make custom queries; as a for-instance, there's not currently a mechanism in the package for making paginated queries.
Unfortunately, in order to create a GetObjectPaginated function, one would need makeRequest and QueryParams to be fully public, or in the latter case have a method to generate a QueryParams struct from a public method.
QueryParams.forceProxy being private stymies me creating my own makeRequest; I can create a QueryParams object but it's unable to be set to anything but false. By extension this makes BuildRequest less accessible.
The text was updated successfully, but these errors were encountered:
It should be easy to leverage the Connector components to make custom queries; as a for-instance, there's not currently a mechanism in the package for making paginated queries.
Unfortunately, in order to create a GetObjectPaginated function, one would need makeRequest and QueryParams to be fully public, or in the latter case have a method to generate a QueryParams struct from a public method.
https://github.com/infobloxopen/infoblox-go-client/blob/master/connector.go#L252 being private means I'd have to generate my own version that calls all the public methods it does, which is not ideal.
infoblox-go-client/objects.go
Line 310 in fb8af8d
The text was updated successfully, but these errors were encountered: