Interesting project.
Assume we have 2 services containing this data.
postings = [
{ _id: '100', message: 'Hello', posterId: '2000', readerIds: ['2001', '2002'] }
];
users = [
{ _id: '2000', name: 'John' },
{ _id: '2001', name: 'Marshall' },
{ _id: '2002', name: 'David' },
];
Using something like postings.get('100', { ... }), can you get back something similar to (no need to be exact) this
{ message: 'Hello', posterId: { name: 'John' }, readerIds: [ { name: 'Marshall' }, { name: 'David' }] }
Thanks.
Interesting project.
Assume we have 2 services containing this data.
Using something like
postings.get('100', { ... }), can you get back something similar to (no need to be exact) thisThanks.