Skip to content
代码片段 群组 项目
提交 1016f1d8 编辑于 作者: Vitaly Slobodin's avatar Vitaly Slobodin 提交者: Mark Florian
浏览文件

Update @graphql-eslint-plugin to 3.16.1

Transform "operations" configuration key
for "graphql-eslint-plugin" into a string.
There is an issue with "graphql-eslint-plugin" cache implementation.
The cache is implemented as a Map which stores an array
as a reference. Having the "operations" key as an array invokes
that issue so we never hit cache because arrays are compared
by a reference in JavaScript. See below:

let arr = ['1'];
let cache = new Map();
cache.set(['1'], 1);
cache.has(['1']); // false
上级 f6fe9df7
No related branches found
No related tags found
无相关合并请求
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册