Skip to content

Graphula#272

Merged
pbrisbin merged 4 commits intomainfrom
pb/graphula
Sep 12, 2021
Merged

Graphula#272
pbrisbin merged 4 commits intomainfrom
pb/graphula

Conversation

@pbrisbin
Copy link
Copy Markdown
Member

No description provided.

- Lots of Arbitrary instances

  Elected to use orphans for Text and Natural. Might be better to use
  newtypes throughout our models with proper (if derived) instances.

- Lots of HasDependencies

- Rewrite Factories

  genFoo functions easy node creation only if it's cumbersome (e.g.
  genJob) and should not do anything in particular with the generated
  model, except for system-wide invariants (such as genUser ensuring the
  dummy credsPlugin). Instead, prefer setFooBar as re-usable combinators
  for edit.
Prefer always generating a User then authenticating, vs wrapping up the
two together. Make it easy to generate an Admin, so we don't need
separate authentication functions for each.
@pbrisbin pbrisbin changed the title Update LTS, migrate tests to Graphula Graphula Sep 11, 2021
Latest weeder has --require-hs-files, which obviates this.
freckle/stack-action doesn't pass this flag, but we can make that so the
next time a removed module bites us.
@pbrisbin pbrisbin merged commit 134019d into main Sep 12, 2021
@pbrisbin pbrisbin deleted the pb/graphula branch September 12, 2021 20:39
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