Giter Site home page Giter Site logo

Comments (6)

tedchamb avatar tedchamb commented on September 24, 2024 1

@tmeckel, it may be a bug. See my comment above, on how to contact the team that owns the api. They are the ones that will need to fix this in the Azure DevOps code, before the generator will generate this property in both the Go SDK and the documentation. I will also try and contact the team directly, but posting issues in the link I sent above is the correct way to report this issue to them.

from azure-devops-go-api.

tmeckel avatar tmeckel commented on September 24, 2024 1

@nmiodice thank you for commenting on this issue on the developer community site for Azure DevOps. Perhaps @mozehgir and you (perhaps @tedchamb as well?) might talk to someone in the product group to get them convinced that the current situation isn't ideal for people using the API. I think I made my position clear this in my older comments here.

from azure-devops-go-api.

tedchamb avatar tedchamb commented on September 24, 2024

@tmeckel , the team that owns this REST area has marked that property as for InternalUseOnly, so the generator ignores it. Your best bet is to ask the team directly what the best way is to get the data you are looking for.

You can post questions to them here:
https://docs.microsoft.com/en-us/rest/api/azure/devops/graph/?view=azure-devops-rest-5.1

from azure-devops-go-api.

tmeckel avatar tmeckel commented on September 24, 2024

@tedchamb As explicitly stated in the documentation, a group is returned by the REST API even if it has been deleted.

image

For this reason, the flag isDeleted exists to indicate whether the group has already been deleted and thus the caller is able to detect a deleted group. In the current implementation of the GO API, it is never evident to the caller whether a group has been deleted or not, when it was loaded directly via the GET method of the REST API, since the GO implementation does not provide this flag.

Hence I assume that marking this attribute as INTERNAL is a bug.

If you know another way to detect if a group has been deleted than checking the isDeleted flag (well, except loading all groups and check if the group in question isn't listed anymore) I'm happy to take this path.

from azure-devops-go-api.

tmeckel avatar tmeckel commented on September 24, 2024

@tedchamb Okay, let's tackle this from both side then 😏

https://developercommunity.visualstudio.com/content/problem/870642/graph-api-graphgroup-property-isdeleted-hidden-mar.html

from azure-devops-go-api.

nmiodice avatar nmiodice commented on September 24, 2024

Unfortunately the developer community issue has been closed :/ cc @mozehgir

from azure-devops-go-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.