jaimz22 / DoctrineFullTextPostrgres

A simple to use set of database types, and annotations to use postgresql's full text search engine with doctrine
17 stars 21 forks source link

Use onFlush event to be able to update on entity changes #10

Closed teohhanhui closed 7 years ago

teohhanhui commented 7 years ago

It was completely broken so far...

teohhanhui commented 7 years ago

/cc @jaimz22

markbennett1973 commented 7 years ago

@jaimz22 Please can this be merged in - I'm trying to use this bundle in a Symfony 3.2.7 project, and entity updates are not reflected in the full text index at all unless I apply this change.

freezlite commented 7 years ago

It will raise error if field nullable, since it copy nullable from original column but onFlush working after query executes. There is my solution https://github.com/jaimz22/DoctrineFullTextPostrgres/pull/14

jaimz22 commented 7 years ago

This PR was replaced with @freezlite's pr #14