API - Get with `$select=Owners` returns "an error has occurred"

Abierto
#267 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
powershell
Área
api

Línea de trabajo

Start by reproducing the issue with the provided OData URL that selects Id, Version, and Owners, then compare it with the URL selecting only Id and Version. The issue does not identify the API implementation files or tests, so trace the Packages endpoint and its handling of $select and Owners. Done means the request returns Owners without an error; the issue has had no comment for 839 days.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Prerequisites
  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.
Steps to reproduce

To reduce load on PSGallery and increase speed I'd like to use $select to only request the properties I need.

This works for properties like Id, Version and Authors. But not for Owners for some reason.

URL with all properties:

URL with Id and Version (works):

URL with Id, Version and Owners (does not work):

Expected behavior
All properties should be possible to $select
Actual behavior
$select=Owners does not work
Error details

No response

Environment data
Not relevant: API.
Version

Not relevant: API.

Visuals

No response

Lenguaje dominante
PowerShell
Estrellas
289
Forks
83
Merge medio
1 min
PR fusionados (30 d)
1

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de PowerShell/PowerShellGallery

Todos los issues de PowerShell/PowerShellGallery

Issues similares

Más issues de Backend & API Design

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.