Gogol 1.0.0 drops field lenses

Hi,

I am upgrading Gogol 0.5 to master (1.0.0) and noticed that field lenses are dropped (such us tfsName), but new approach is not clear.

Disappeared lens

tfsName :: Lens' TableFieldSchema (Maybe Text)
-- /See:/ 'newTableFieldSchema' smart constructor.
data TableFieldSchema = TableFieldSchema
  {
         name :: (Core.Maybe Core.Text),
1 Like

I assume it was done for the same reason that field lenses were removed from amazonka-2.0: you are encouraged to use record updates, generic-lens/generic-optics, or -XOverloadedRecordDot.