From 68163d3aa45d1570db39a41407788cfbd9b57d6a Mon Sep 17 00:00:00 2001 From: Francisco Lopez-Sancho Date: Fri, 30 Jun 2023 15:14:29 +0200 Subject: [PATCH] feature: linking doc snippets to our repo --- docs/src/modules/java/pages/event-sourced-entities.adoc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/src/modules/java/pages/event-sourced-entities.adoc b/docs/src/modules/java/pages/event-sourced-entities.adoc index 271c404b51..563b7c84cc 100644 --- a/docs/src/modules/java/pages/event-sourced-entities.adoc +++ b/docs/src/modules/java/pages/event-sourced-entities.adoc @@ -55,8 +55,7 @@ Now that we have our Entity state defined along with its events, the remaining s Let's have a look at what our shopping cart entity will look like for the first 2 steps from the above list: -[source,java] -.src/main/java/com/example/shoppingcart/ShoppingCartEntity.java +https://github.com/lightbend/kalix-jvm-sdk/blob/main/samples/java-spring-eventsourced-shopping-cart/src/main/java/com/example/shoppingcart/ShoppingCartEntity.java[src/main/java/com/example/shoppingcart/ShoppingCartEntity.java] ---- include::example$java-spring-eventsourced-shopping-cart/src/main/java/com/example/shoppingcart/ShoppingCartEntity.java[tag=class] ----