cult-of-coders / grapher

Grapher: Meteor Collection Joins + Reactive GraphQL like queries
https://atmospherejs.com/cultofcoders/grapher
MIT License
275 stars 53 forks source link

Support for nested links #479

Closed bhunjadi closed 7 months ago

bhunjadi commented 11 months ago

Support for nested links in nested objects and arrays:

Coll.addLinks({
  'meta.project': {
    collection: Projects,
    type: 'one',
    field: 'meta.projectId',
  },
})
bhunjadi commented 11 months ago

@StorytellerCZ

This is another PR from my repo that I didn't submit here before. I'll try to add basically everything from my fork to PRs here to have them more in sync (or ideally I'd just abandon my fork).

It's in draft because it's best to merge #403 first and then I'll make additional changes here.

StorytellerCZ commented 11 months ago

403 was merged.

bhunjadi commented 11 months ago

@StorytellerCZ This should be ready for a review now.

bhunjadi commented 7 months ago

@StorytellerCZ Fixed in the latest commit

StorytellerCZ commented 7 months ago

Will be published in v1.5