Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JsonFactory.setStreamReadConstraints() #964

Merged
merged 2 commits into from Mar 23, 2023

Conversation

cowtowncoder
Copy link
Member

Fix #962: add a direct set method for overriding StreamReadConstraints, in addition to preferred Builder method.

@cowtowncoder cowtowncoder added this to the 2.15.0-rc2 milestone Mar 23, 2023
@cowtowncoder cowtowncoder merged commit c75b84e into 2.15 Mar 23, 2023
5 checks passed
@cowtowncoder cowtowncoder deleted the tatu/964-set-stream-read-constraints branch March 23, 2023 03:36
@cowtowncoder cowtowncoder restored the tatu/964-set-stream-read-constraints branch March 23, 2023 03:36
@cowtowncoder cowtowncoder deleted the tatu/964-set-stream-read-constraints branch March 23, 2023 03:37
paolobazzi added a commit to eclipse-scout/scout.rt that referenced this pull request Mar 6, 2024
Jackson's object mapper enforces some read/write constraints since
release 2.15. The maximum length for strings was limited to 20mb as
default. Since Scout dataobject mapper may be used with base64-encoded
binary data occasionally, 20mb may not be sufficient for each case.
This fix increases the default limit to 100mb and adds support to
modify all constraints using config properties.

See
eclipse-ee4j/jersey#5283
FasterXML/jackson-core#962
FasterXML/jackson-core#964

376418
paolobazzi added a commit to eclipse-scout/scout.rt that referenced this pull request Mar 12, 2024
Jackson's object mapper enforces some read/write constraints since
release 2.15. The maximum length for strings was limited to 20mb as
default. Since Scout dataobject mapper may be used with base64-encoded
binary data occasionally, 20mb may not be sufficient for each case.
This fix increases the default limit to 100mb and adds support to
modify all constraints using config properties.

See
eclipse-ee4j/jersey#5283
FasterXML/jackson-core#962
FasterXML/jackson-core#964

376418
paolobazzi added a commit to eclipse-scout/scout.rt that referenced this pull request Mar 12, 2024
Jackson's object mapper enforces some read/write constraints since
release 2.15. The maximum length for strings was limited to 20mb as
default. Since Scout dataobject mapper may be used with base64-encoded
binary data occasionally, 20mb may not be sufficient for each case.
This fix increases the default limit to 100mb and adds support to
modify all constraints using config properties.

See
eclipse-ee4j/jersey#5283
FasterXML/jackson-core#962
FasterXML/jackson-core#964

376418
paolobazzi added a commit to eclipse-scout/scout.rt that referenced this pull request Mar 12, 2024
Jackson's object mapper enforces some read/write constraints since
release 2.15. The maximum length for strings was limited to 20mb as
default. Since Scout dataobject mapper may be used with base64-encoded
binary data occasionally, 20mb may not be sufficient for each case.
This fix increases the default limit to 100mb and adds support to
modify all constraints using config properties.

See
eclipse-ee4j/jersey#5283
FasterXML/jackson-core#962
FasterXML/jackson-core#964

376418
paolobazzi added a commit to eclipse-scout/scout.rt that referenced this pull request Mar 12, 2024
Jackson's object mapper enforces some read/write constraints since
release 2.15. The maximum length for strings was limited to 20mb as
default. Since Scout dataobject mapper may be used with base64-encoded
binary data occasionally, 20mb may not be sufficient for each case.
This fix increases the default limit to 100mb and adds support to
modify all constraints using config properties.

See
eclipse-ee4j/jersey#5283
FasterXML/jackson-core#962
FasterXML/jackson-core#964

376418
paolobazzi added a commit to eclipse-scout/scout.rt that referenced this pull request Mar 14, 2024
Jackson's object mapper enforces some read/write constraints since
release 2.15. The maximum length for strings was limited to 20mb as
default. Since Scout dataobject mapper may be used with base64-encoded
binary data occasionally, 20mb may not be sufficient for each case.
This fix increases the default limit to 100mb and adds support to
modify all constraints using config properties.

See
eclipse-ee4j/jersey#5283
FasterXML/jackson-core#962
FasterXML/jackson-core#964

376418
paolobazzi added a commit to eclipse-scout/scout.rt that referenced this pull request Mar 14, 2024
Jackson's object mapper enforces some read/write constraints since
release 2.15. The maximum length for strings was limited to 20mb as
default. Since Scout dataobject mapper may be used with base64-encoded
binary data occasionally, 20mb may not be sufficient for each case.
This fix increases the default limit to 100mb and adds support to
modify all constraints using config properties.

See
eclipse-ee4j/jersey#5283
FasterXML/jackson-core#962
FasterXML/jackson-core#964

376418
paolobazzi added a commit to eclipse-scout/scout.rt that referenced this pull request Mar 14, 2024
Jackson's object mapper enforces some read/write constraints since
release 2.15. The maximum length for strings was limited to 20mb as
default. Since Scout dataobject mapper may be used with base64-encoded
binary data occasionally, 20mb may not be sufficient for each case.
This fix increases the default limit to 100mb and adds support to
modify all constraints using config properties.

See
eclipse-ee4j/jersey#5283
FasterXML/jackson-core#962
FasterXML/jackson-core#964

376418
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Offer a way to directly set StreamReadConstraints via JsonFactory (not just Builder)
1 participant