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
We are integrating with feature-flags service in go SDK and have found following issues:
model_feature.go is outdated w.r.t the swagger spec hosted on this page. Furthermore, the Permanent bool json:"permanent,omitempty" property has issue due to extra whitespace, so the field is not getting set in request (and the API returns Bad Request error - "request body has an error: doesn't match the schema: Error at "/permanent": property "permanent" is missing").
Documentation is missing for the PUT API which was recently added to feature flags service here.
The PATCH API in the feature flag service seems to take *interface{} in Instructions field. This is inconvenient since there models/enums for PATCH Kind & Parameters are missing in the SDK, and we have to either manually write structs/enums or generate Harness client from the OpenAPI 3.0 Spec (which is expect to be provided by SDK).
The status_code 400 has not been handled in the API implementation in the feature-flags service. Furthermore, if a flag is not found in Harness, the backend returns 400 Bad Request, instead it should return 404 Not Found status. (GetFeatureFlag API)
Please address these issues, and if any clarifications are needed please do reach out.
Thank you
The text was updated successfully, but these errors were encountered:
Hi,
We are integrating with feature-flags service in go SDK and have found following issues:
json:"permanent,omitempty"
property has issue due to extra whitespace, so the field is not getting set in request (and the API returns Bad Request error - "request body has an error: doesn't match the schema: Error at "/permanent": property "permanent" is missing").Please address these issues, and if any clarifications are needed please do reach out.
Thank you
The text was updated successfully, but these errors were encountered: