eager not setted at first creation #611
Labels
f: associations
the associations feature in pop
s: triage
Some tests need to be run to confirm the issue
Milestone
Description
It would be nice to immediatly have the eager populated as soon as the object is created in order to avoid to make a find just after create to retreive the data.
For example, when we create a book for Mark it would be usefull to know that it's Mark's book and not only the book of "uuid".
Steps to Reproduce the Problem
I wrote directly in a test what it would be useful to have. The name of the test is not relevant, it's just because it's easier to explain and I think more understandable for you. (this function is in "preload_associations_test.go" line 10).
Expected Behavior
To have the information of the book's owner, so the two lines in comments: 2a and 2b.
Actual Behavior
We only have the first line in comments: 1.
Info
I am with Linux and using v5.3.1 of Pop through v0.16.17 of Buffalo
The text was updated successfully, but these errors were encountered: