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.
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 sqlExpected 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).