This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-19
Channels
- # aws (2)
- # beginners (135)
- # boot (20)
- # chestnut (7)
- # cider (18)
- # clara (5)
- # cljs-dev (50)
- # cljsrn (30)
- # clojure (252)
- # clojure-italy (9)
- # clojure-losangeles (5)
- # clojure-russia (8)
- # clojure-spec (33)
- # clojure-uk (5)
- # clojurescript (32)
- # clr (4)
- # cursive (5)
- # data-science (1)
- # datascript (1)
- # datomic (40)
- # emacs (1)
- # fulcro (18)
- # graphql (11)
- # hoplon (3)
- # lein-figwheel (2)
- # lumo (47)
- # off-topic (2)
- # om-next (3)
- # onyx (10)
- # pedestal (22)
- # protorepl (6)
- # re-frame (7)
- # reagent (38)
- # ring (1)
- # ring-swagger (5)
- # rum (3)
- # spacemacs (19)
- # specter (5)
- # vim (13)
- # yada (16)
@bja that’s totally valid. Some people run the middleware-stack on AWS Lambda for example (https://github.com/mhjort/ring-apigw-lambda-proxy).
hi.. i have my custom schema type Attribute, tried the class-based dispatch like this (defmethod json-schema/convert-class Attribute [val options] ... ) but it wasn't recognized .. I get the "don't know how to convert" error ... Does that seem right? Attribute is "implementing" Schema protocol
the multimethod is only used if the type is presented as Class, e.g. java.lang.String
. If your Attribute is a instance of a class, you can use the JsonSchema
protocol for the mapping.
right thanks.. protocol-based works ok.. i thought (defprotocol Attribute ...) creates a java class i could use with multimethods