Add RDF support for checkpwd

オープン
#9,875 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 10 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
1〜2日
初心者へのやさしさ
49/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go
領域
databases

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Go
スター
21.8k
フォーク
1.6k
平均マージ
11日 7時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dgraph-io/dgraph のほかの issue

dgraph-io/dgraph の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。