Graphql filters - NOT works not as expected #16277
Unanswered
winadm87
asked this question in
Help Wanted!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Deployment Type
Self-hosted
NetBox Version
v4.0.2
Python Version
3.12
Steps to Reproduce
Create a list of IPs. Create a tag, e.g. exclude_ip_from_list. Put this tag on any of the created IPs. Go to graphql and run such a query
query MyQuery { ip_address_list(filters: {NOT: {tag: "exclude_ip_from_list"}}) { custom_fields id description address tags { name } } }
Expected Behavior
Graphql returns a list of IPs without tag
Observed Behavior
Graphql returns only IPs with tag.
Beta Was this translation helpful? Give feedback.
All reactions