graphql-engine/v3/crates/engine/tests
Samir Talwar ca61619c06 Format everything with Prettier. (#530)
I found myself wanting to rewrite JSON files with `sed`. The problem is,
then I want to run a formatter over them afterwards, and this will
change the whole file, not just the area I touched.

I would like to propose the nuclear option in remedying this: format
everything now. This is a very large change that should make it easier
to keep files to a consistent format in the future.

I have chosen to use Prettier for this because (a) it has a useful
`--write` command and (b) it also does GraphQL, Markdown, YAML, etc.

I've elected to exclude two sets of files:

1. `crates/custom-connector/data/*.json`, because they are actually
multiple JSON objects, one per line, which Prettier cannot parse.
2. `crates/lang-graphql/tests/**/*.graphql`, because it contains invalid
GraphQL, and the parser is intended to work with strangely-formatted
GraphQL.

The main changes are standardizing whitespace, adding a newline at the
end of files, and putting JSON arrays on one line when they fit.

V3_GIT_ORIGIN_REV_ID: 92d4a535c34a3cc00721e8ddc6f17c5717e8ff76
2024-04-30 14:58:57 +00:00
..
execute Format everything with Prettier. (#530) 2024-04-30 14:58:57 +00:00
explain Format everything with Prettier. (#530) 2024-04-30 14:58:57 +00:00
generate_ir Format everything with Prettier. (#530) 2024-04-30 14:58:57 +00:00
ndc-postgres-configuration Format everything with Prettier. (#530) 2024-04-30 14:58:57 +00:00
validate_metadata_artifacts Format everything with Prettier. (#530) 2024-04-30 14:58:57 +00:00
auth_config.jsonschema Enforce titles are set on most metadata json schemas (#434) 2024-04-02 23:39:44 +00:00
chinook-postgres.sql Update the ndc-postgres dependency to the latest version. (#386) 2024-04-03 08:04:07 +00:00
common.rs support GraphQL variables in tests (#495) 2024-04-23 08:48:15 +00:00
db_definition.sql Update the ndc-postgres dependency to the latest version. (#386) 2024-04-03 08:04:07 +00:00
execution.rs untangle input boolean expressions from models (#460) 2024-04-23 15:51:45 +00:00
explain.rs Avoid .unwrap in favor of anyhow for better error messages in tests. (#430) 2024-04-02 17:06:56 +00:00
finish.sql Speed up debug builds in Docker. (#484) 2024-04-22 13:43:29 +00:00
introspection.rs resolve predicates in the context of types (#444) 2024-04-26 14:06:12 +00:00
relationship.rs Avoid .unwrap in favor of anyhow for better error messages in tests. (#430) 2024-04-02 17:06:56 +00:00
schema.json Format everything with Prettier. (#530) 2024-04-30 14:58:57 +00:00
validate_metadata.rs Tidy up metadata resolve (#527) 2024-04-30 10:56:28 +00:00