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

Cherry-pick b94324c from 8.x to 7.x: Provide async APIs for CsdlWriter and SchemaWriter (#3006) #3060

Open
wants to merge 2 commits into
base: release-7.x
Choose a base branch
from

Commits on Sep 9, 2024

  1. Provide async APIs for CsdlWriter and SchemaWriter (#3006)

    * Add corresponding async methods for syncronous methods of EdmModelCsdlSchemaJsonWriter
    
    * Implemented asynchronous counterparts for synchronous virtual and abstract methods for EdmModelCsdlSchemaWriter class
    
    * Added asynchronous implementations for the synchronous methods in EdmModelCsdlSchemaXmlWriter
    
    * Added corresponding asynchronous methods for EdmModelReferenceElementsJsonVisitor, EdmModelCsdlSerializationVisitor and EdmModelReferenceElementsXmlVisitor
    
    * Added asynchronous counterparts for csdl writer methods
    
    * Added async corresponding sync methods for EdmModelVisitor
    
    * Fix WriteStartElementAsync prefix and namespace missing
    
    * Added csdl async/await and functional tests for csdl writer async methods
    
    * Added async APIs to net48 public API
    
    * Fixed comments to add ConfigureAwait(false)
    
    * Added configureAwait(false) to await tests
    
    * Elude await/async in BeginElementAsync method Func<TElement, Task> params
    
    * Rewrite the doc string of the async methods to add <returns> and provide correct summary
    
    * Rewrite WriteSchemata to WriteSchema
    
    * Move the asynhronous tests to .Async partial classes
    
    * Added ContextUrlWriterReaderTests.Async partial class with async tests and fix asynhronous equal true when writing xml
    
    * Added doc string for <params></params>
    
    * Resolve missing spaces
    
    * Added Returns Documentation string for WriteCsdlAsync
    
    * Remove unnecessary 'else'
    
    * Added WriteMetadataDocumentAsync methods and tests
    
    * Rename test functions for WriteMetadataDocumentAsync
    
    * Renaming WriteSchema to WriteSchemas and WriteSchemaAsync to WriteSchemasAsync
    
    * Provide the correct file in copyright for the added files
    
    * Rename partial class OasisActionsFunctionsRelationshipChangesAcceptanceTests to OasisActionsFunctionsRelationshipChangesAcceptanceTest to reuse the methods used in main class OasisActionsFunctionsRelationshipChangesAcceptanceTest
    WanjohiSammy committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    d5f88cf View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. Added custom Task.CompletedTask for older .NET frameworks. Added miss…

    …ing ConfigureAwait(false)
    WanjohiSammy committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    d09561e View commit details
    Browse the repository at this point in the history