sdk: rust serialize error: UiNodeInputAttributesValue

server info server_version: ory_kratos v0.6.0.alpha2

client_sdk language: rust version: v0.6.0.alpha17

bug info

  1. when ::public_api::calling initialize_self_service_registration_via_api_flow, the success return struct is RegistrationFlow, which contains nested type ui -> UiContainer -> Vec<UiNode> ->UiNodeInputAttributesValue
  2. the return value gives string while the generated struct as empty struct.

error log:

Message:  called `Result::unwrap()` on an `Err` value: Serde(Error("invalid type: string \"\", expected struct UiNodeInputAttributesValue", line: 1, column: 443))

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 19 (10 by maintainers)

Commits related to this issue

Most upvoted comments

I found some issues in our OpenAPI Spec which have been resolved in Ory Kratos master and cargo test now passes for the newest spec!