frederikhors

Results 725 comments of frederikhors

The code is this: ```go func (db Repo) gameListQuery(ctx context.Context, input query.GameListInput) (*query.GameConnection, error) { que := db.Game.Query() out, err := que.Paginate(ctx, input.Pagination.After, input.Pagination.First, input.Pagination.Before, input.Pagination.Last, ent.WithGameInvoice(input.Invoice), ent.WithGameFilter(input.Where.Filter), ) //handle...

> Hello @frederikhors , can you share the code of steps resolver? I did: https://github.com/ent/ent/issues/2889#issuecomment-1231423758.

Oh. I didn't know it was possible with PR too (not master branch). I'm trying right now with [6ebd2e1430a0e5ec1f7277dac0306ffd2edea28d.](https://github.com/ent/contrib/pull/373/commits/6ebd2e1430a0e5ec1f7277dac0306ffd2edea28d).

I updates ent too: ![image](https://user-images.githubusercontent.com/41120635/187457941-e14173ad-550e-47d1-b6d1-5e28bf2a49ed.png) **It's ok?**

Ok. I can confirm you that with https://github.com/ent/contrib/pull/373/commits/6ebd2e1430a0e5ec1f7277dac0306ffd2edea28d **it doesn't work**. 😢

> Did you run code generation after updating contrib? 😄 yep! I'm an expert now...

Before: ```go func (o *Invoice) Steps(ctx context.Context) ([]*InvoiceStep, error) { result, err := o.Edges.StepsOrErr() if IsNotLoaded(err) { result, err = o.QuerySteps().All(ctx) } return result, err } ``` after: ```go func...

Yep. From that commit the steps array is empty. Even with that PR commit. How can I help you more?