Closed Rein142 closed 1 month ago
Sounds like a typo, but ill double check it and follow up
Looking at the fix it changed the string array return type for the ProjectSchema, but within the ExpandedGroupSchema it still returns a ProjectSchema array, is this intended then?
Looking at the fix it changed the string array return type for the ProjectSchema, but within the ExpandedGroupSchema it still returns a ProjectSchema array, is this intended then?
It isnt, just overlooked.
Description I am trying to implement a function in React (typescript) that compares the properties of shared_with_groups on a Group or Project with ones that a user wants to add to said resource. But I am running into the fact that on Groups, calling on the shared_with_groups attribute, gitbeaker returns this as a ProjectSchema array, whereas on Projects it returns this as a string array. Is this an intended feature? I don't see how the following output makes sense in a ProjectSchema:
Can someone tell me whether this is intended or not, and if it is, why exactly?
I call upon these properties like this:
Checklist