domagoj-orioly

Results comments of domagoj-orioly

If I change the relation to `BelongsToOne` I get this error: ``` { "name": "GeneralError", "message": "one of the identifier columns [id] is null or undefined. Have you specified the...

That's how feathers generated them. > ```js > const user = await User.query().insert(user); > await user.$relatedQuery('address').insert({}) > ``` > > or > > ```js > const user = await User.query().insertGraph({...

> What? Where you need to insert it! How should I know where? I'm inserting user with default feathers create endpoint/service.

This is how Feathers generated this service: Same as in this example: https://github.com/feathersjs-ecosystem/feathers-objection ``` // See https://vincit.github.io/objection.js/#models // for more of what you can do here. const { Model }...

This is in `after.create` hook: ``` const user = context.service.Model; const address = await user.relatedQuery('address').insertAndFetch({}); ``` It inserts address but doesn't populate `users.address_id` field.

Just a quick follow-up, I didn't forget about the issue, I will check back in with required info as soon as I get a chance to test this again.

vid is not a part of contact properties. Try `$contact->vid`

@e-stonia https://developers.hubspot.com/docs/methods/contacts/get_contact `$contact->profile_url` ?