untangled

NEW CHANNEL: #fulcro
gardnervickers 2016-07-25T13:53:40.000145Z

Hey folks! Quick question if anyone is around. I have a list of things, where the ID is in a dropdown. I have it structured Root->Dropdown->Dropdown-item. Now I have a table to show more info on a specific item that’s structured Root->Table. Is the proper way to do this having 2 query endpoints on the server, one for :dropdown and one for :table?

tony.kay 2016-07-25T15:04:46.000146Z

It's really up to you. The app client database has to be structured for the UI queries, but using load-data you can query however you like, and then use a post-mutation to re-form the views of the queried data for the UI.

tony.kay 2016-07-25T15:04:58.000147Z

@gardnervickers: ^^^

gardnervickers 2016-07-25T15:09:50.000148Z

Awesome, that's what I was hoping. Thanks for your work!

2016-07-25T18:54:39.000149Z

@tony.kay: yes automated-tests pass

2016-07-25T18:54:50.000150Z

@tony.kay: did you guys release it yet? i saw it's merged

2016-07-25T18:56:39.000151Z

Anthony left a good comment though that there's another similar line of code that seems to have the same bug I fixed,

2016-07-25T18:56:49.000152Z

so I only fixed the case that was affecting me

tony.kay 2016-07-25T19:11:38.000153Z

@jasonjckn: it is in the SNAPSHOT version...I believe I pushed that. Not a formal release yet

2016-07-25T19:11:44.000154Z

k

2016-07-25T19:11:48.000155Z

that works

tony.kay 2016-07-25T19:12:27.000156Z

I just re-pushed 0.3.9-SNAPSHOT to clojars just in case

tony.kay 2016-07-25T19:12:49.000157Z

thanks for the patch

2016-07-25T19:12:55.000158Z

thanks for merging