Alexandre Villeneuve

Results 6 comments of Alexandre Villeneuve

I think it's possible already, you just need to add the many to many the relations manually in the joins array ``` php /** * Searchable rules. * * @var...

That was quick! If I understand the code correctly all I'd need to do is set an option `treatErrorsAsUnauthorized: true` within the ` scopeAuthOptions`. This would make Auth Scope catch...

I'd prefer one of the scope errors to be 're-thrown' (or an array of both, if possible? not sure how GraphQL handles multiple errors when they populate the errors array...

Hi, Try changing the following line In your `preview.js` ```ts - import '!style-loader!css-loader!postcss-loader!@styles/storybook.css'; + import '@styles/storybook.css'; ``` The reason for the error is that Vite doesn't understand Webpack's import loader...

@MaxArt2501 If you add an array check to those lines https://github.com/MaxArt2501/json-server/blob/756b7d2bd8e3952ec947c60c30c34e719f8d33ad/src/server/router/plural.js#L137-L149 Something along the lines of : ```js ... else if (_.isArray(elementValue)) { return elementValue.some(el => el === value) }...

While you made the many to many support on `_embed`, if someone were to adopt the foreign key arrays, it would indirectly break the regular (with foreign key as a...