Fork me on GitHub
#fulcro
<
2017-11-06
>
tony.kay01:11:46

@timeyyy_da_man so, those are pretty widely used. Care to describe what is going on in more detail? You’re using JVM_OPTS?

tony.kay01:11:10

You have to start two repls…

tony.kay01:11:26

start one and type (go). This will start a server on 3000

tony.kay01:11:37

start another one and do the (start-figwheel [:dev])

tony.kay01:11:44

then load from

tony.kay01:11:02

the first REPL is your server REPL, the second will be hooked to the browser

tony.kay01:11:50

@wilkerlucio Yeah, glad to include it.

tony.kay01:11:41

I wrote some up at the bottom of primitives_spec in 2.0 branch

tony.kay01:11:33

I was trying to do some property-based testing, but I couldn’t get the generators to be efficient enough, and I stopped working on it because it was consuming too much dev time for the value it was going to bring.

tony.kay01:11:48

but, I think the specs are right, or at least very close

wilkerlucio01:11:04

cool, I'll check that to start

tony.kay01:11:40

I was trying to generate arbitrary queries so I could test my query normalization denormalization for the new dynamic query system

tony.kay01:11:07

I’d still liek to have that if you can get the generators working. They work for me sometimes, but often time out. The recursion is hard to make efficient.

tony.kay01:11:18

so, not good for tests at the moment

thosmos08:11:51

@tony.kay I just discovered Fulcro! Wow! After talking with you at Clojure/West the future seemed uncertain. I like the new name better!

vinnyataide15:11:00

is there a page for fulcro-datomic schema handling? or the files are created manually

cjmurphy15:11:30

@vinnyataide: Do you mean Datomic schema handling? If so Fulcro uses something forked from Yuppiechef's schema.

vinnyataide15:11:35

@cjmurphy That's it. But I really meant how the package fulcro-datomic itself is handling it since it is on github

vinnyataide15:11:12

oh well, I already have a schema.edn file full of datomics maps and vectors lol, I think yuppiechef could bypass this?

cjmurphy16:11:00

@vinnyataide Yuppiechef will substitute for what you've done, generating the schema that Datomic needs from a higher level. If you go your own way (not using yuppiechef schema) then you will miss out on schema migrations: https://github.com/fulcrologic/fulcro-datomic/blob/master/docs/index.adoc#fulcro-datomic-docs, which might not be a problem, and Schema migrations is a Datomic thing, so there's probably something similar out there or you can create your own thing.

tony.kay17:11:22

@thosmos Glad you’re here! Yeah, things are going well with it. 2.0 is going to bring some nice improvements as well.

roklenarcic19:11:45

I'm such an idiot sometimes. I've created a bunch of very general (parameterized) mutations instead of creating general functions that can be easily combined and then have a bunch of very specific mutations

tony.kay19:11:25

yeah, better to have the abstract mutations be specific…for many reasons. Live and learn 🙂

roklenarcic19:11:09

It's also probably faster to do a single swap! instead of bunch of them

roklenarcic20:11:00

how do I tell the form that it's not really dirty

roklenarcic20:11:30

like if something is loaded from the server

roklenarcic21:11:22

figured it out