Commit 2b958dc
committed
issue #519 - QueryParameterValue.toString should use query string format
I didn't realize that we were using QueryParameterValue.toString to
write the self URI for the response messages, so I added a generic
toString capability for composite values.
Now, I've updated this to return the data in a format that is consistent
with the query string value we parsed to get it.
Note: there is no known syntax for a single component within a composite
value to itself have multiple values; we'll throw an
IllegalStateException if we ever see it.
Signed-off-by: Lee Surprenant <lmsurpre@us.ibm.com>1 parent d86a419 commit 2b958dc
2 files changed
Lines changed: 6 additions & 4 deletions
File tree
- fhir-search/src/main/java/com/ibm/fhir/search
- parameters
- uri
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
149 | | - | |
150 | 148 | | |
151 | 149 | | |
152 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
153 | 155 | | |
154 | 156 | | |
155 | 157 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
| 242 | + | |
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
| |||
0 commit comments