Skip to content

Commit

Permalink
down to inflection
Browse files Browse the repository at this point in the history
  • Loading branch information
jemgillam committed Feb 17, 2025
1 parent 971a964 commit 241e6b4
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion postgraphile/website/postgraphile/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Introduction
---

# PostGraphile Introduction
# PostGraphile introduction

:::caution Use the `@beta` tag

Expand Down
4 changes: 2 additions & 2 deletions postgraphile/website/postgraphile/inflection.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ avoiding naming conflicts. For example:
But if you don’t want this (or it’s doing something wrong), then you can fix it
by overriding inflectors!

### Overriding NamingOne-off
### Overriding namingonce

If you want to rename just one field or type, your best bet is to use a
[smart tag](./smart-tags.md); e.g. for a table you might do:
Expand All @@ -47,7 +47,7 @@ honouring them.

:::

### Overriding Inflection
### Overriding inflection

You can easily write a plugin to override an individual inflector, it just
needs to add the new inflector under the `inflection.replace` object; an
Expand Down
2 changes: 1 addition & 1 deletion postgraphile/website/versioned_docs/version-4/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Introduction

import styles from "@site/src/css/common.module.css";

# PostGraphile Introduction
# PostGraphile introduction

<p className={styles.intro}>

Expand Down
4 changes: 2 additions & 2 deletions postgraphile/website/versioned_docs/version-4/inflection.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ in GraphQL whilst attempting to avoid naming conflicts. For example:
- Relations reference the target type and the referencing columns:
`postsByAuthorId` (see "advice" below about making this shorter!)

### Overriding Naming - One-off
### Overriding naming - once

If you want to rename just one field or type, your best bet is to use a
[smart comment](./smart-tags); e.g. for a table you might do:
Expand All @@ -29,7 +29,7 @@ This still uses the inflectors, but it pretends that the tables name is
different, so the input to the inflectors differs.
:::

### Overriding Inflection - General
### Overriding inflection - general

It's possible to override individual inflectors with a plugin. Doing so is
documented in the
Expand Down
2 changes: 1 addition & 1 deletion postgraphile/website/versioned_docs/version-5/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Introduction
---

# PostGraphile Introduction
# PostGraphile introduction

:::caution

Expand Down
4 changes: 2 additions & 2 deletions postgraphile/website/versioned_docs/version-5/inflection.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ avoiding naming conflicts. For example:
But if you don't want this (or it's doing something wrong), then you can fix it
by overriding inflectors!

### Overriding Naming - One-off
### Overriding naming - once

If you want to rename just one field or type, your best bet is to use a
[smart tag](./smart-tags.md); e.g. for a table you might do:
Expand All @@ -45,7 +45,7 @@ honouring them.

:::

### Overriding Inflection
### Overriding inflection

You can easily write a plugin to override an individual inflector, it just
needs to add the new inflector under the `inflection.replace` object; an
Expand Down

0 comments on commit 241e6b4

Please sign in to comment.