Fork me on GitHub
#pathom
<
2020-01-29
>
wilkerlucio00:01:05

@austin021 this is a matter of figuring a good way to visualize that, I agree this can be improved, just did bother enough to spend the time on it. one thing is that on the attribute listing, you can see with which attributes it is combined, that information is directly acessible on the index, so the data is there

ak-coram14:01:55

Hi, if anyone's interested: I've submitted a PR for fixing the issue I've encountered yesterday (see above). https://github.com/wilkerlucio/pathom/pull/141

👍 4
wilkerlucio14:01:41

awesome, thanks! I’ll take a look on it later today

ak-coram15:01:02

sounds great, let me know if you have questions

tony.kay15:01:22

@wilkerlucio have you had any discussion about putting docstrings on the indexes?

tony.kay15:01:52

that way Inspect in Fulcro could show docs about attributes as you explore the graph…or we could create an API doc tab

tony.kay15:01:12

seems a simple-enough add

tony.kay15:01:26

would also then be simple to make some generalized tool that could hit a pathom endpoint and generate a live documentation site.

wilkerlucio15:01:23

@tony.kay if I remember right that was already implemented for resolvers

kszabo15:01:26

I have been toying with this idea, combined with some form of serializable specs. There is support for docstring, the example index-explorer resolver should be updated to include it, that should be all: https://github.com/wilkerlucio/pathom/blob/c30ccb4d875ec2adbd157905d84e53e9d72f5129/test/com/wsscode/pathom/connect_test.cljc#L228

wilkerlucio15:01:29

but mutations may be missing

tony.kay15:01:13

great, yeah, I didn’t see it in docs anywhere

sif18:01:41

I have resolvers that only run once after server restart or (tools-ns/refresh) but then it doesn't run a second time (I have to restart the server to run "once"), any help please, I'm using fulcro web template?