hypercerts-org / hypercerts-indexer

Indexing service for hypercerts metadata
2 stars 0 forks source link

[Indexing] Correctly typed but incorrect metadata should be stored #144

Closed bitbeckers closed 2 months ago

bitbeckers commented 2 months ago
runIndexing] Failed to index events ZodError: [
    "message": "impact_timeframe_from must be less than impact_timeframe_to, unless impact_timeframe_to is infinite (0)",
    at ZodEffects.parse (file:///app/node_modules/.pnpm/zod@3.23.6/node_modules/zod/lib/index.mjs:692:22)
[runIndexing] Failed to index events ZodError: [
  {
  {

In this case, we should store the metadata with an error message attached.

If the metadata contains a string field but it's an array, we should reject

bitbeckers commented 2 months ago

In #146