From e95c8189b79b9ef7a27c56d1fb09f334cbad4154 Mon Sep 17 00:00:00 2001 From: "robin.bygrave" Date: Wed, 13 Sep 2023 17:16:29 +1200 Subject: [PATCH] #285 BigInteger support for path parameter --- .../src/main/java/org/example/HelloController.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/test-nima-jsonb/src/main/java/org/example/HelloController.java b/tests/test-nima-jsonb/src/main/java/org/example/HelloController.java index 95d7ea40..515ae085 100644 --- a/tests/test-nima-jsonb/src/main/java/org/example/HelloController.java +++ b/tests/test-nima-jsonb/src/main/java/org/example/HelloController.java @@ -1,5 +1,6 @@ package org.example; +import java.math.BigInteger; import java.util.List; import java.util.Map; import java.util.Set; @@ -149,8 +150,8 @@ String formBean(MyForm form) { return form.name + "|" + form.email + "|" + form.url; } -// @Get("/bigInt/{val}") -// String testBigInt(BigInteger val) { -// return "hi|" + val; -// } + @Get("/bigInt/{val}") + String testBigInt(BigInteger val, BigInteger someQueryParam) { + return "hi|" + val; + } }