-
Notifications
You must be signed in to change notification settings - Fork 65
Support for composable functions #431
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
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
1d94d6a
#402 /range/lastCell is missing in OpenAPI description
MartinM85 46ca4a1
Generate ODataPath for navigation properties that are defined on oper…
MartinM85 761e297
Add unit test
MartinM85 03bd99a
Improve appending to composable functions
MartinM85 701f060
Merge branch 'master' into mm/composable-functions
MartinM85 d06c087
Bump version
MartinM85 e564d21
Merge branch 'master' into mm/composable-functions
baywet 5db37a5
- fixes wrong merge
baywet ca23181
- updates path numbers
baywet 1df700c
Bumps up version
irvinesunday a943b5e
Update integration test file and paths
irvinesunday File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/ComposableFunctions.OData.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx"> | ||
<edmx:DataServices> | ||
<Schema Namespace="composable.functions" xmlns="http://docs.oasis-open.org/odata/ns/edm"> | ||
<EntityType Name="arrayItem"> | ||
<Property Name="index" Type="Edm.Int64" Nullable="false" /> | ||
<Property Name="value" Type="Edm.String" /> | ||
</EntityType> | ||
<EntityType Name="array"> | ||
<Key> | ||
<PropertyRef Name="id" /> | ||
</Key> | ||
<Property Name="id" Type="Edm.Int64" Nullable="false" /> | ||
<Property Name="size" Type="Edm.Int64"/> | ||
<NavigationProperty Name="items" Type="Collection(composable.functions.arrayItem)"/> | ||
</EntityType> | ||
<Action Name="clean" IsBound="true"> | ||
<Parameter Name="bindingParameter" Type="composable.functions.array"/> | ||
</Action> | ||
<Function Name="range" IsBound="true" IsComposable="true"> | ||
<Parameter Name="bindingParameter" Type="composable.functions.array"/> | ||
<ReturnType Type="composable.functions.array"/> | ||
</Function> | ||
<Function Name="filter" IsBound="true" IsComposable="true"> | ||
<Parameter Name="bindingParameter" Type="composable.functions.array"/> | ||
<ReturnType Type="composable.functions.array"/> | ||
</Function> | ||
<Function Name="sort" IsBound="true" IsComposable="true"> | ||
<Parameter Name="bindingParameter" Type="composable.functions.array"/> | ||
<ReturnType Type="composable.functions.array"/> | ||
</Function> | ||
<Function Name="itemAt" IsBound="true"> | ||
<Parameter Name="bindingParameter" Type="composable.functions.array"/> | ||
<Parameter Name="index" Type="Edm.Int32"/> | ||
<ReturnType Type="composable.functions.arrayItem"/> | ||
</Function> | ||
<EntityContainer Name="ComposableFunctions"> | ||
<EntitySet Name="arrays" EntityType="composable.functions.array"/> | ||
</EntityContainer> | ||
</Schema> | ||
</edmx:DataServices> | ||
</edmx:Edmx> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.