Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Behavior plugin is not updating when removing lines from tags.json5 #2236

Open
hos opened this issue Nov 8, 2024 · 0 comments
Open

Behavior plugin is not updating when removing lines from tags.json5 #2236

hos opened this issue Nov 8, 2024 · 0 comments
Labels

Comments

@hos
Copy link
Contributor

hos commented Nov 8, 2024

Summary

When I add behavior tag in the tags.json5 file, for example +filterBy, it instantly adds the filter on the input and
I can see it in ruru/graphiql. But when I comment that line or remove it, the schema is not updated until I will restart the server.

Steps to reproduce

Here is the reproducible using ouch-my-finger.
I used this sql

create table public.users(name text);

Expected results

I expect the schema to be updated, as if there was no tag at all.

Actual results

Schema is updated only after server restart if the text is removed from the tags.json5 file.
If I replace +filterBy with -filterBy and vice-versa, it updates, but when I remove the line
schema stays the same until the restart.

Additional context

Node v22.11
All the deps are update to the latest version of the moment of writing in the reproducible.

Possible Solution

Not a solution, but, I guess it may be related to this issue (discord message).

@hos hos added the 🐛 bug label Nov 8, 2024
@github-project-automation github-project-automation bot moved this to 🌳 Triage in V5.0.0 Nov 8, 2024
@benjie benjie moved this from 🌳 Triage to 🦟 Mayfly in V5.0.0 Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🦟 Mayfly
Development

No branches or pull requests

1 participant