Skip to content

Conversation

@goneri
Copy link
Contributor

@goneri goneri commented May 22, 2015

With this commit, it's now possible to embbed different row of the same table.

We use the DOMAIN to know the name resource to embed. This instead of the
name of the field.

@goneri
Copy link
Contributor Author

goneri commented May 22, 2015

I will prepare the Unit-test if you are fine with the patch.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 96.88% when pulling 460168a on goneri:embedded into 5b5d639 on RedTurtle:master.

@amleczko
Copy link
Member

I need to sleep with it :)

@goneri goneri force-pushed the embedded branch 3 times, most recently from 37f2ce7 to 9efaa83 Compare May 23, 2015 15:36
@goneri goneri changed the title embedded table: use DOMAIN to look up the resource embedded table: various improvements May 23, 2015
goneri added 4 commits May 24, 2015 18:12
With this commit, it's now possible to embbed different row of the same table.

We use the DOMAIN to know the name resource to embed. This instead of the
name of the field.
use the embeddable key to know if a resource should be embedded
in the result.
Expend the $table.$field entry from the structure passed throught the
embedded parameter.
Only retrieve the two first level of depth of embeddable resources.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 96.9% when pulling 8cf6699 on goneri:embedded into 5b5d639 on RedTurtle:master.

@goneri
Copy link
Contributor Author

goneri commented May 24, 2015

I need more time to finish this patch. i will reopen a PR later.

@goneri goneri closed this May 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants