Skip to content

Conversation

@naartjie
Copy link
Contributor

@naartjie naartjie commented Oct 11, 2019

This PR adds ocamlformat, using the conventional format.

It only brings the minimum changes necessary to format the project:

$ dune build @fmt --auto-promote

After that it is expected that @andreas would commit those changes as the main author. After that we would enforce the formatting rules on travisCI (as per @anmonteiro's suggestion) to ensure that any new code merged follows the formatting rules.

@andreas
Copy link
Owner

andreas commented Oct 16, 2019

@naartjie, thanks a lot! This has been super helpful. I probably wouldn't have gotten around to doing it at this point otherwise, so really appreciate it 🙏

@naartjie
Copy link
Contributor Author

Awesome @andreas. I'm super happy that I could help.

Should I take a look at setting up the Travis CI hook next - i.e. fail if the code is not formatted?

@naartjie naartjie deleted the add-ocamlformat branch October 17, 2019 11:29
@andreas
Copy link
Owner

andreas commented Oct 17, 2019

@naartjie that would be amazing 😄

@yawaramin yawaramin mentioned this pull request Dec 4, 2019
kit-ty-kate pushed a commit to ocaml/opam-repository that referenced this pull request Jul 19, 2022
…d graphql-async (0.14.0)

CHANGES:

- Support `__typename` on subscriptions (andreas/ocaml-graphql-server#178)
- Handle unknown fields for subscriptions (andreas/ocaml-graphql-server#178)
- Add ocamlformat (andreas/ocaml-graphql-server#177)
- Handle missing variables as null (andreas/ocaml-graphql-server#184)
- Show default value in introspection query (andreas/ocaml-graphql-server#194)
- Support block strings in the parser (andreas/ocaml-graphql-server#198)
- Handle skip/include directives on fragment spreads (andreas/ocaml-graphql-server#200)
- Improved handling of recursive arguments and objects (andreas/ocaml-graphql-server#199)
- Fix websocket conflict (andreas/ocaml-graphql-server#206)
- Update deprecated Fmt functions (andreas/ocaml-graphql-server#206)
- Use Yojson `t` types instead of deprecated `json` type (andreas/ocaml-graphql-server#208)
- Raise minimum `rresult` version (andreas/ocaml-graphql-server#209)
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.

2 participants