-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Consider the following:
package de.quantummaid.tutorials;
//Showcase start step2AdapterDeclaration1
import de.quantummaid.httpmaid.awslambda.AwsLambdaEndpoint;
import static de.quantummaid.httpmaid.awslambda.AwsLambdaEndpoint.awsLambdaEndpointFor;
//Showcase end step2AdapterDeclaration1
import de.quantummaid.quantummaid.QuantumMaid;
import java.util.Map;
//Showcase start step2AdapterDeclaration2
public final class Main {
private static final AwsLambdaEndpoint ADAPTER = awsLambdaEndpointFor(quantumMaidConfig().httpMaid());
//...
//Showcase end step2AdapterDeclaration2I have to create two separate snippets, when what I really want is to call them both with the same name.
Then, when it's included in a markdown file, it would take care of creating a single code block with ...
between the fragments:
import de.quantummaid.httpmaid.awslambda.AwsLambdaEndpoint;
import static de.quantummaid.httpmaid.awslambda.AwsLambdaEndpoint.awsLambdaEndpointFor;
...
public final class Main {
private static final AwsLambdaEndpoint ADAPTER = awsLambdaEndpointFor(quantumMaidConfig().httpMaid());
//...
Metadata
Metadata
Assignees
Labels
No labels