Skip to content

Conversation

parsonsmatt
Copy link
Collaborator

It was discovered that the form:

Table
    name Text

OtherTable
    Id TableId

does not properly generate foreign key references. This PR has a minimal test case reproducing and demonstrating this behavior.


Before submitting your PR, check that you've:

  • Documented new APIs with Haddock markup
  • Added @since declarations to the Haddock
  • Ran fourmolu on any changed files (restyled will do this for you, so
    accept the suggested changes if it makes them)
  • Adhered to the code style (see the .editorconfig and fourmolu.yaml files for details)

After submitting your PR:

  • Update the Changelog.md file with a link to your PR
  • Bumped the version number if there isn't an (unreleased) on the Changelog
  • Check that CI passes (or if it fails, for reasons unrelated to your change, like CI timeouts)

Comment on lines +105 to +106
`shouldBe`
ForeignRef (EntityNameHS "ForeignTarget")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Restyled by fourmolu

Suggested change
`shouldBe`
ForeignRef (EntityNameHS "ForeignTarget")
`shouldBe` ForeignRef (EntityNameHS "ForeignTarget")

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.

1 participant