nbb
nbb copied to clipboard
bug: babashka/nbb-prismatic-schema `s/defn` not avaiable to use
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/defnisn't available- Even with the require as
[schema.core :as s :include-macros true]
- Even with the require as
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 Due to deployment difficulties I had to roll back schema / malli support for now :(.
We'll address this as part of schema compatibility when loading schema as a library from source