Fork me on GitHub
#pedestal
<
2019-07-10
>
souenzzo20:07:30

anyone else using #fulcro #pathom and #datomic ? Did you create resolvers using :db/id as input?

Joe Lane20:07:46

Are they mutation oriented resolvers?

souenzzo20:07:46

"read" resolvers

Joe Lane20:07:19

The alternative is to create an external ID of some sort. Is the application going to be integrating with 3rd parties at all? If so I'd avoid using internal :db/id's externally. Otherwise i'd say using :db/id is not a problem.

Joe Lane20:07:08

I wen't down the external ID for a non-3rd-party-integrating application and if I could go back I wouldn't bother.

souenzzo20:07:58

I use extenal id's. But I'm asking myself why not use :db/id PS: I know the limitations of :db/id

souenzzo20:07:29

something like: by default use :db/id, unless I have a good reason to do not.

souenzzo20:07:38

Oh, I'm on #pedestal , not #pathom. sorry. 😅