Closed sswrk closed 4 months ago
Interesting... 🤔 What value is being passed for $date
in that case?
Interesting... 🤔 What value is being passed for
$date
in that case?
A date in the ISO format, for example "2024-07-01".
Oh, sorry, I've just realized, this is for upgrading to a non 3.x version, right?
I feel pretty confident that this issue is either resolved in 3.x or will be much easier to address in 3.x. Is there something forcing you to upgrade to latest 2.x version?
Oh, sorry, I've just realized, this is for upgrading to a non 3.x version, right?
Right: Ash 2.18.2 -> 2.21.15 AshGraphql 0.26.9 -> 0.28.1 AshPostgres 1.4.0 -> 1.5.28 AshArchival 0.1.4 -> 0.1.5
Is there something forcing you to upgrade to latest 2.x version?
No, I can downgrade back to the latest version that works for me. Just wanted to upgrade to the latest 2.x version to make sure I'm in a good place to start migrating to 3.x
I think that is the best choice for now TBH. Less uncertainty in general :)
Describe the bug After updating Ash and extensions, filtering by relationship using a generated filter argument results in the following error:
To Reproduce There are 2 resources, and there's a
belongs_to
relationship between them:Then running this query:
Results in the error mentioned above.
Expected behavior
Expected not to error in this case and return properly filtered values. This worked for me with Ash 2.18.1/AshGraphql 0.26.9/AshPostgres 1.4.0/AshArchival 0.1.4.
** Runtime
Additional context I'm not sure if this is a AshGraphQL bug or Ash/AshPosgres bug.
I'll be able to start migrating to Ash 3 in a couple of weeks.