Fix GraphQLTestCase to work with optional ArrayFields #8369

Closed
opened 2025-12-29 20:35:53 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Jul 25, 2023).

Originally assigned to: @arthanson on GitHub.

Proposed Changes

This issue is being opened to track a bug in GraphQLTestCase discovered under PR #13219 as noted here. The field inspection logic must be improved to avoid treating certain ArrayFields as reverse many-to-one fields.

Justification

Fixes support for ArrayFields in GraphQLTestCase.

Originally created by @jeremystretch on GitHub (Jul 25, 2023). Originally assigned to: @arthanson on GitHub. ### Proposed Changes This issue is being opened to track a bug in GraphQLTestCase discovered under PR #13219 as noted [here](https://github.com/netbox-community/netbox/pull/13219#discussion_r1268261854). The field inspection logic must be improved to avoid treating certain ArrayFields as reverse many-to-one fields. ### Justification Fixes support for ArrayFields in GraphQLTestCase.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 20:35:53 +01:00
adam closed this issue 2025-12-29 20:35:53 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8369