Skip to content

[query] Update v1 Query Service To Accept v2 Storage API #6480

@mahadzaryab1

Description

@mahadzaryab1

As per #6460 (comment),

  • keep v1 query service as is, operating on v1 storage
  • make the constructor of query service accept v2 storage only
  • the constructor should check if v2 storage is actually an adapter over v1, if so retrieve v1 reader and operate as usual
  • otherwise, apply another adapter that wraps native v2 storage into v1 reader API

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions