Skip to content

Conversation

@takakiNG
Copy link
Collaborator

@takakiNG takakiNG commented Feb 10, 2026

  • Inspect.Map.inspect_as_struct/4 を利用する
    • Elixir 1.19 以降では struct はこちらを使用する必要がある
    • 結果が {doc, opts} で返るため、 doc をのみを返す
  • opts として limit: :infinity を指定する。
    • limit: の扱いが「階層ごとの制限」だったところが「深さも含めた制限」となり、大きな schema では ... で省略されるようになったため

@takakiNG takakiNG changed the title Elixir 1.19.0 以降では Inspect.Map.inspect_as_struct/4 を利用する Elixir 1.19.0 以降に対応 Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant