Skip to content

Change "qualified Invocations" wrapping option to improve fluent API formatting #124

Closed
@redhead

Description

@redhead

I was surprised that custom wrapped code in a long method call chains is reformatted back to a single line. Affects stream() or any builder methods. For example:

    return GraphQLArgument.newArgument()
            .name(argName)
            .type(argType)
            .description(description)
            .defaultValue(argDefaultValue)
            .build();

Becomes:

	return GraphQLArgument.newArgument().name(argName).type(argType).description(description)
			.defaultValue(argDefaultValue).build();

This does not improve readability IMHO.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions