Skip to content

Conversation

bcspragu
Copy link
Contributor

This makes it more obvious how to bootstrap a new project with rules_gqlgen.

Also, clean up the README.md a bit and remove references to "GoLang".

Fixes #11

This makes it more obvious how to bootstrap a new project with `rules_gqlgen`.

Also, clean up the README.md a bit and remove references to "GoLang".

Fixes #11
@bcspragu bcspragu force-pushed the brandon/example-workspace branch from 62311ba to ebf241b Compare February 28, 2023 02:40
@bcspragu bcspragu requested a review from gbdubs February 28, 2023 02:53
@chadxzs
Copy link

chadxzs commented Mar 8, 2023

What do you use for your editor? I am using Intellij and loading the rules_gqlgen project shows the example dir as excluded from the project. I posted in the Bazel slack asking what others do in this situation where there are multiple WORKSPACE, but haven't gotten any response so far. I may post on the Bazel google group about it.

If I remove example from .bazelignore, it breaks the build for me, so that's not an option either.

@bcspragu
Copy link
Contributor Author

bcspragu commented Mar 8, 2023

What do you use for your editor?

I'm using Helix, which is basically just a text editor when it comes to Bazel stuff. I think the correct behavior would be to treat any sub-WORKSPACE as it's own project, with a second-best choice being to ignore anything in a sub-WORKSPACE, but I'm wholly ignorant of IntelliJ, so I don't know what the expected/best-case behavior would be

@bcspragu bcspragu merged commit e4f12da into main Mar 9, 2023
@bcspragu bcspragu deleted the brandon/example-workspace branch March 9, 2023 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make example/ a standalone Bazel workspace
3 participants