jscheffl commented on PR #42388:
URL: https://github.com/apache/airflow/pull/42388#issuecomment-2365257345

   > It would be great to instead have the React JSON view enabled for 
JSON-serializable Xcom values, and fall back to old logic otherwise. I can try 
taking a crack at that next week.
   
   Yeah. You can try. We can keep the PR open or you add another PR on top to 
improve.
   
   Unfortunately the JSON serialization is handled by the underlying framework 
such that the error is created post return. The only (simple) option that I see 
is to attempt a serialization and if this is OK then return is native, 
stryingify as fallback? But then the resulting object needs to be serialized 
multiple times. Mhm not really good.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to