-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Ocelot overides System.Text.Json parser and uses Newtonsoft #1351
Comments
It happens to me too. But when I try to use Newtonsoft parser instead, doesn't work either returning to me always the default value. |
@Marciocristian I found this fix by adding system.text.json input and output formatters to Startup.cs in asp net core |
ty |
@neetra @marciocrmendes |
…peline building via the IMvcCoreBuilder interface (#1655) * AddOcelot support custom mvc builder. * Fix SA1503 : The opening and closing braces for a C# statement have been omitted. * Fix SA1135 : A using directive is not qualified. * Add AddDefaultAspNetServices method. Remove anonymous delegate. * Make method names shorter * add unit test for AddOcelotUsingBuilder * Sort Usings * Refactor integration test for the case with AddOcelotUsingBuilder * Update OcelotBuilder.cs * Update gettingstarted.rst Fix target framework as net7.0 * Add "The AddOcelot method" paragraph * Use correct heading levels for subsections * Update configuration.rst Use correct heading levels for (sub)sections * Update configuration.rst Readability improvements * Incapsulate all system services to the AddDefaultAspNetServices method * Add developer's XML-docs for OcelotBuilder and related extensions * Create dependencyinjection.rst * Update dependencyinjection.rst Overview paragraph * Update dependencyinjection.rst "IServiceCollection extensions" paragraph. "The OcelotBuilder class" paragraph. * Update dependencyinjection.rst: Custom Builder paragraph * Add Dependency Injection feature to the index of docs * Update gettingstarted.rst: Add footnotes * Correction of typo in English grammar * Unit tests for AddOcelotUsingBuilder extension * Improve readability of BDDfy scenarios in logs * Update requestaggregation.rst. Add footnotes Mark down corrections * Update tracing.rst: Add footnotes. Markdown text corrections * Update qualityofservice.rst: Add footnotes * Update administration.rst: Add footnotes. Markdown text corrections * Update configuration.rst: Add footnotes. Text corrections * IDE1006 Naming rule violation: These words must begin with upper case characters: should_* --------- Co-authored-by: Raman Maksimchuk <[email protected]>
Expected Behavior / New Feature
When try using ocelot, Newtonsoft parser is used, but i want to use System.text.json
Actual Behavior / Motivation for New Feature
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: