nbb icon indicating copy to clipboard operation
nbb copied to clipboard

bug: babashka/nbb-prismatic-schema `s/defn` not avaiable to use

Open omariosouto opened this issue 3 years ago • 1 comments

version

  • "nbb": "0.5.113"
  • "@babashka/nbb-prismatic-schema":"0.5.113"
  • Package JSON File: https://github.com/devsoutinho/app-labs/blob/main/_servers/webproxy/package.json

platform

  • Node: v16.13.0
  • NPM: v8.1.0
  • Yarn: v1.22.17
  • MacBook Pro (13-inch, M1, 2020) | Apple M1 | macOS MOnterey Version 12.4

problem

  • s/defn isn't available
    • Even with the require as [schema.core :as s :include-macros true] image

repro

  • Just download these files in this commit.
  • Error: Message: Could not resolve symbol: s/defn

expected behavior

  • When using s/defn I should be able to use the macro that validates the function entry values and its output.

omariosouto avatar Jun 12 '22 19:06 omariosouto

@omariosouto Due to deployment difficulties I had to roll back schema / malli support for now :(.

borkdude avatar Jun 23 '22 19:06 borkdude

We'll address this as part of schema compatibility when loading schema as a library from source

borkdude avatar Oct 10 '22 18:10 borkdude