Fork me on GitHub
#datomic
<
2019-07-19
>
okwori06:07:29

Beginner Q: Given the sample schema, is it possible to just retract entity [:step/name "step2"] in line27 from entity [:lad/name "lado"]without maybe having to removing :db/ident :lad/step, adding it back, and subsequently filling it with needed collection of :step/name? and how...

donaldball13:07:39

[[:db/retract [:lad/name "lado"] :lad/step [:step/name "step2"]]] will retract the datom asserting a ref between lado and step2. [[:db/retractEntity [:step/name "step2"]]] should retract all datoms that refer to step, including that ref from lado

4
okwori14:07:21

First step does it. thanks

daniel.spaniel18:07:33

Does anyone know how to configure my ion to issue an http request to sendgrid? Do I need configure a NAT or Egress-only Gateway from my VPC? And if so, is there some example of doing that?

Joe Lane18:07:46

clj-http should be able to make an outbound http request.

4
daniel.spaniel18:07:21

from within my ion code @joe.lane?

Joe Lane18:07:10

I do that in one of my production systems with twilio

daniel.spaniel18:07:18

yeah, same here

daniel.spaniel18:07:26

It might be a delay then from twilio

Joe Lane18:07:21

np, have fun!

Joe Lane18:07:01

@dansudol One thing I ran into was if the ion was cold then sometimes twilio would timeout on callbacks because twilio has a 5 second timeout.

👍 4