apple / apple/pir-service-example

Adopt error API to convey server errors to the client

Open
#102 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Swift
Stars
218
Forks
32
Avg merge
1d 10h
Merged PRs (30d)
5

Description

https://github.com/apple/swift-homomorphic-encryption-protobuf/pull/21 added a new error message to protobufs.

pir-service-example should adopt that.

For example, it can return the new configuration to the devices when device makes a query with invalid configuration. (https://github.com/apple/pir-service-example/issues/94#issuecomment-3239914507)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the protobuf error-message change in PR #21 and the invalid-configuration flow referenced in issue #94's comment. Trace how pir-service-example sends server errors to devices; done means the new error API can convey the configuration response for an invalid device query.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.