Json.schema - method apply in trait Schema is deprecated #217
-
Hello, I'm using libs
And specifying definitions https://github.com/andyglow/scala-jsonschema#definitionsreferences It works but compilers show me warns:
I'm using some old syntax? Is there something missing? How can I get rid of warns? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
hello, @michalbogacz |
Beta Was this translation helpful? Give feedback.
-
actually may i ask you to provide some example.. i double-checked the code and i fill like maybe it's on your side |
Beta Was this translation helpful? Give feedback.
actually may i ask you to provide some example.. i double-checked the code and i fill like maybe it's on your side
the change meant by warning is
schema("my-name")
->schema.toDefinition("my-name")