You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by th...@apache.org on 2022/01/17 22:13:30 UTC

[tapestry-5] branch master updated: TAP5-2696: fixing FallbackObjectMapperSource contribution

This is an automated email from the ASF dual-hosted git repository.

thiagohp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git


The following commit(s) were added to refs/heads/master by this push:
     new 7612315  TAP5-2696: fixing FallbackObjectMapperSource contribution
7612315 is described below

commit 7612315e396e8e6235d9f8038717320b77d942f6
Author: Thiago H. de Paula Figueiredo <th...@arsmachina.com.br>
AuthorDate: Mon Jan 17 19:13:21 2022 -0300

    TAP5-2696: fixing FallbackObjectMapperSource contribution
---
 .../org/apache/tapestry5/rest/jackson/modules/RestJacksonModule.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tapestry-rest-jackson/src/main/java/org/apache/tapestry5/rest/jackson/modules/RestJacksonModule.java b/tapestry-rest-jackson/src/main/java/org/apache/tapestry5/rest/jackson/modules/RestJacksonModule.java
index 04cd778..efca109 100644
--- a/tapestry-rest-jackson/src/main/java/org/apache/tapestry5/rest/jackson/modules/RestJacksonModule.java
+++ b/tapestry-rest-jackson/src/main/java/org/apache/tapestry5/rest/jackson/modules/RestJacksonModule.java
@@ -57,7 +57,7 @@ public class RestJacksonModule
      */
     public static void contributeObjectMapperSource(OrderedConfiguration<ObjectMapperSource> configuration)
     {
-        configuration.addInstance("Fallback", FallbackObjectMapperSource.class);
+        configuration.addInstance("Fallback", FallbackObjectMapperSource.class, "after:*");
     }
     
     /**