Add RDF support for checkpwd

Abierto
#9,875 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 10 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
1-2 días
Aptitud para principiantes
49/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
go
Área
databases

Línea de trabajo

Start by locating the RDF output path and the checkpwd handling that currently rejects RDF; the issue names no source files or tests, so trace the error message from there. Check how RDF output represents other computed boolean values, then add coverage for the shown query and expected triple. Done means the query returns the boolean as an RDF literal instead of the unsupported-format error.

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

Descripción

Is your feature request related to a problem? Please describe

When running the following query having the output set to RDF i get this error chkpwd function is not supported in the rdf output format.

{
  login(func:eq(<login.username>, "user")){
    <check>: <checkpwd>(<login.pass>,"very_secret_password")
  }
}

Describe the solution you'd like

I was expecting the following result in RDF.

<0x12345> <check> "true" .

Describe alternatives you've considered

The obvious solution (which I'm also going to do) is to switch to JSON but I'm building by application with RDF in mind, and have not planed on parsing JSON anywhere.

Lenguaje dominante
Go
Estrellas
21.8k
Forks
1.6k
Merge medio
11 d 7 h
PR fusionados (30 d)
5

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 dgraph-io/dgraph

Todos los issues de dgraph-io/dgraph

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.