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

long-running-operation without a response body doesn't compile #776

Closed
emgerner-msft opened this issue Mar 2, 2016 · 4 comments
Closed
Labels

Comments

@emgerner-msft
Copy link
Member

Long running operations (like below) result in output code that doesn't compile.

    "responses": {
      "202": {
        "description": ""
      }
    },
    "x-ms-long-running-operation": true

The output error is:

The type arguments for method 'AzureClientExtensions.GetPutOrPatchOperationResultAsync(IAzureClient, AzureOperationResponse, Dictionary<string, List>, CancellationToken)' cannot be inferred from the usage. Try specifying the type arguments explicitly.

@parvezah
Copy link
Contributor

parvezah commented Apr 4, 2016

i am facing a similar issue with my spec. is there any work around for this?

@amarzavery
Copy link
Contributor

It is in the backlog. We will take this up soon.

@devigned
Copy link
Member

devigned commented Apr 4, 2016

@parvezah, please open a pull request if it is blocking you. We're happy to review it :).

@devigned devigned added bug and removed enhancement labels Apr 4, 2016
@parvezah
Copy link
Contributor

parvezah commented Apr 5, 2016

https://github.com/Azure/autorest/pull/917 Raised a PR. Can you have a look.

tbombach added a commit that referenced this issue Apr 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants