Skip to content

Commit

Permalink
[SIEM] Fixes glob patterns from directory changes recently for GraphQL
Browse files Browse the repository at this point in the history
## Summary

Our directory structure has changed recently and the GraphQL needs to be updated for it to find the new location of the graphql files. I used a more global glob approach which will make it easier to change directories again and not have it break. 

This does cause the generated file to have different positions and looks like changes but they are just movements.

To test this:

* Check it out
* Run this:
```sh
 cd $HOME/projects/kibana/x-pack/plugins/siem && node scripts/generate_types_from_graphql.js
```

And ensure the types do not change and you can run a type check like so:

```sh
cd $HOME/projects/kibana && node scripts/type_check.js --project x-pack/tsconfig.json
```
  • Loading branch information
FrankHassanabad authored May 15, 2020
1 parent a8e8211 commit 3228f1d
Show file tree
Hide file tree
Showing 2 changed files with 598 additions and 598 deletions.
Loading

0 comments on commit 3228f1d

Please sign in to comment.