Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example global behavior to disable everything by default #2000

Closed
wants to merge 1 commit into from

Conversation

jcgsville
Copy link
Contributor

Description

This is a small addition to the documentation for something that took me several minutes to figure out. It is something I suspect will be useful for others who want to take the same disabled-by-default approach that I am taking with postgraphile

Performance impact

None - just docs

Security impact

None - just docs

Checklist

  • I have detailed the new feature in the relevant documentation.
  • I have added this feature to 'Pending' in the RELEASE_NOTES.md file (if one exists).

@benjie, I imagine we don't need release notes for documentation tweaks?

Copy link

changeset-bot bot commented Mar 21, 2024

⚠️ No Changeset found

Latest commit: 617ee1c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@jcgsville
Copy link
Contributor Author

It turns out I'm still getting familiar with the behavior system. Not even sure if I can figure out how to selectively enable the things I want to after using -*, so maybe take this suggestion with a large grain of salt

@jcgsville
Copy link
Contributor Author

Only after messing with this for an hour or two did I realize that this list is not exhaustive

https://postgraphile.org/postgraphile/next/behavior#core-behaviors

Should probably specify that

@benjie
Copy link
Member

benjie commented Mar 22, 2024

This isn’t documented yet because it’s buggy:

@jcgsville
Copy link
Contributor Author

This isn’t documented yet because it’s buggy:

Makes sense. I definitely should have skimmed the other open issues first instead of relying on search

@jcgsville jcgsville closed this Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants