vapor / core

🌎 Utility package containing tools for byte manipulation, Codable, OS APIs, and debugging.
MIT License
82 stars 50 forks source link

Data does not conform to ReflectionDecodable #135

Closed andrewtheis closed 6 years ago

andrewtheis commented 6 years ago

Steps

  1. Create a new Vapor 3 project w/PostgreSQLFluent
  2. Create a PostgreSQLModel subclass with a Data property
  3. Add model to migration config in configure.swift
  4. Run application

Expected Result Migration for your new model runs and creates a bytea PostgeSQL column

Actual Result Error is thrown: ⚠️ [CoreError.ReflectionDecodable:Datadoes not conform toReflectionDecodable.]

tanner0101 commented 6 years ago

Thanks for reporting that one @andrewtheis!