juniper-eager-loading icon indicating copy to clipboard operation
juniper-eager-loading copied to clipboard

Breaking change in 0.5.1

Open tosti007 opened this issue 4 years ago • 1 comments

After updating to v0.5.1 from v0.5.0 using #[has_many_through(skip)] results in:

error: '#[has_many_through]' missing 'join_model'

Additionally juniper_eager_loading::GraphqlNodeForModel does not get generated for structs having such errors.

tosti007 avatar Mar 14 '20 14:03 tosti007

It seems adding join_model to #[has_many_through(skip)] solves the issue.

tosti007 avatar Mar 14 '20 14:03 tosti007