Fork me on GitHub
#pedestal
<
2017-02-03
>
dazld14:02:13

hey everyone

dazld14:02:20

weโ€™re playing around with vase a little

dazld14:02:45

question - does this do very much without having an actual datomic instance running?

dazld14:02:59

hey @mtnygard was hoping you might be around ๐Ÿ™‚

mtnygard14:02:36

With no Datomic at all, you can still use the #vase/respond and #vase/redirect literals. They're not terribly interesting by themselves. You can also write your own literals and use the rest of Vase's plumbing.

dazld14:02:49

got it - this explains a lot

mtnygard14:02:54

It you're just kicking the tires, you can also use Datomic's in-memory database.

dazld14:02:06

could you point me at a quickstart for the in-memory db?

mtnygard14:02:31

It's pretty easy. You just don't run a transactor. ๐Ÿ™‚ Then use "datomic:<mem://dbname>" as the URI.

mtnygard14:02:43

You can call create-database, connect, transact, etc.

dazld14:02:55

oki, time to break out docker ๐Ÿ™‚

dazld14:02:04

I think i have a test licence hanging around still too

mtnygard14:02:22

(You don't even need a test license for the in-memory db.)

dazld14:02:31

oh, awesome

dazld14:02:04

as a suggestion, might want to add this information to the readme\

dazld14:02:26

:thumbsup:

mtnygard14:02:58

Please let me know if you bump into any sharp corners.

mtnygard14:02:03

I'll add more to that issue.

dazld14:02:13

how about a 500 if the datastore isn't available?

mtnygard14:02:46

What are you getting now?

mtnygard14:02:08

That does seem odd.

dazld14:02:16

on validate for example

tetriscodes16:02:50

Anyone have Swagger working with pedestal?

tetriscodes16:02:00

With spec instead of schema

mtnygard16:02:58

@tetriscodes I have a client using pedestal-api, but none with pedestal-swagger.

ikitommi16:02:04

the pedestal-swagger is fork from route-swagger which uses ring-swagger and is used by pedestal-api, which is the most up-to-date impl for pedestal.

mtnygard16:02:04

@ikitommi I might need a diagram to follow that chain.

ikitommi16:02:02

haha. We have done the ring-swagger and now porting it for spec with same api for routing libs (https://github.com/metosin/spec-swagger). Waiting for spec internals to cool down. Should work with pedestal-api nicely. Haven't talked with Frankie about his plans with pedestal-api thou.

mtnygard16:02:05

@ikitommi Very cool! I'll be keeping my eye on that