Skip to content

Objects to use id's instead of key value in search #7

@PixelFromTheMixery

Description

@PixelFromTheMixery

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing requests and didn't find any that were similar
  • I have considered creating a pull request instead and want to proceed

Clear and concise description of the problem

During my setup of my first space, I deleted the original Task and Project Objects to make my own. While this has been fine within the AnyType UI, this has made it undetectable by type in the api space (eg. {"types":["task"]}) and returns zero results. This has been confirmed when trying the same query on a new 'test' space where I haven't performed the same action yet and this DID return results.
I suspect it's looking for an old reference, and finding none nothing fits the filter.

Suggested solution

Supply a type/object id or a type name in the search types payload.
(eg. {"types":["fdwufcwl2.da"]})

Alternative

No response

Additional context

https://github.com/anyproto/.github/blob/main/docs/issues?q=label%3Aenhancement does not lead to anything on the contribution guide

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions