Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

When using the FluentColumnFamily.CreateColumn, columns that don't ha…

…ve named schemas are now given one using the Column Family's default validator. If the default validator is not set, then FluentCassandra falls back to using BytesType as the default ValueType.
  • Loading branch information...
commit d74bf6073adc1d6065906d58da0d445a4edb06f9 1 parent b7aba46
@Aaronontheweb Aaronontheweb authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/FluentColumnFamily.cs
View
2  src/FluentColumnFamily.cs
@@ -189,7 +189,7 @@ private CassandraColumnSchema GetColumnSchema(object name)
if (colSchema != null)
return colSchema;
- return new CassandraColumnSchema { NameType = schema.ColumnNameType, ValueType = typeof(BytesType) };
+ return new CassandraColumnSchema { NameType = schema.ColumnNameType, ValueType = schema.DefaultColumnValueType ?? typeof(BytesType) };
}
/// <summary>
Please sign in to comment.
Something went wrong with that request. Please try again.