Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use hard line breaks for some properties #1939

Merged
merged 1 commit into from
Aug 22, 2023
Merged

Conversation

mtdowling
Copy link
Member

@mtdowling mtdowling commented Aug 22, 2023

Includes a restructuring of smithy-syntax since it was getting unwieldy.

Now operations, collectionOperations, resources, errors, and rename always appears on multiple lines if not empty.

service Foo {
    operations: [
        PutFoo
        DeleteFoo
    ]
}

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@mtdowling mtdowling requested a review from a team as a code owner August 22, 2023 00:52
The operations, collectionOperations, resources, and rename properties
of service and resource shapes are now always on multiple lines if
provided and not empty.

For example:

```
service Foo {
    operations: [
        PutFoo
    ]
}
```

Includes a restructuring of smithy-syntax since it was getting
unwieldy.
@mtdowling mtdowling merged commit 9385ad3 into main Aug 22, 2023
11 checks passed
@mtdowling mtdowling deleted the format-hard-line-lists branch September 11, 2023 18:21
This pull request was closed.
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