clojure でのタイピングとドキュメンテーションにプリズマティック/スキーマの使用を検討してきましたが、完全なドキュメンテーションを見つけるのに苦労しました。github の readme には、役立つ基本的な使用法に関する情報がいくつか記載されていますが、多くの未解決の問題が残されています (たとえば、(s/one s/Str "s") で "s" 引数が必要なのはなぜですか)。プリズマティック スキーマの完全なチュートリアルまたはドキュメント ソースを知っている人はいますか?
1 に答える
7
開始するのに最適な場所は、元の Clojure Conj 2013 プレゼンテーションだと思います。
GitHub のさまざまなドキュメントを次に示します。
- https://github.com/plumatic/schema
- http://plumatic.github.io/schema-0-2-0-back-with-clojurescript-data-coercion/
- http://plumatic.github.io/schema-for-clojurescript-data-shape-declaration-and-validation/
- https://github.com/plumatic/schema/wiki/Recursive-Schemas
- https://github.com/plumatic/schema/wiki/Defining-New-Schema-Types-1.0
- http://plumatic.github.io/schema/
Prismatic
名前を からに変更したためPlumatic
、古いブログ投稿などを Plumatic github アカウントに統合したようです。その他のブログ エントリ:
- https://camdez.com/blog/2015/08/27/practical-data-coercion-with-prismatic-schema/
- https://christopherdbui.com/an-overview-of-prismatics-schema-library-for-clojure/
- http://pygments.org/demo/1076301/
- http://codurance.com/2015/09/14/clojure-schemas-are-swagger/
- https://blog.juxt.pro/posts/component-meet-schema.html
- http://www.infoq.com/news/2014/02/prismatic-schema-coercion
楽しみ!
于 2016-03-29T05:05:24.160 に答える