Skip to content

Return overloads that do not take format on Field in 6.x, #3543

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 15, 2019
Merged

Conversation

Mpdreamz
Copy link
Member

removing thm was a bwc breaking change.

cc @codebrain @russcam

@Mpdreamz Mpdreamz closed this Jan 15, 2019
@Mpdreamz Mpdreamz reopened this Jan 15, 2019
@Mpdreamz
Copy link
Member Author

Diff from this with 6.4.0

  <Type Name="Nest.Field" DiffType="Modified">
      <DeclarationDiffs>
        <CustomAttribute Name="Elastic.Internal.JsonNet.JsonConverterAttribute::.ctor(System.Type)" DiffType="New" />
        <CustomAttribute Name="Nest.ContractJsonConverterAttribute::.ctor(System.Type)" DiffType="Deleted" />
      </DeclarationDiffs>
      <Property Name="Format" DiffType="New" />
      <Method Name="Field(Expression, Nullable&lt;Double&gt;, String)" DiffType="New" />
      <Method Name="Field(PropertyInfo, Nullable&lt;Double&gt;, String)" DiffType="New" />
      <Method Name="Field(String, Nullable&lt;Double&gt;, String)" DiffType="New" />
      <Method Name="And&lt;T&gt;(Expression&lt;Func&lt;T, Object&gt;&gt;, Nullable&lt;Double&gt;, String)" DiffType="New" />
      <Method Name="And(PropertyInfo, Nullable&lt;Double&gt;, String)" DiffType="New" />
      <Method Name="And(String, Nullable&lt;Double&gt;, String)" DiffType="New" />
    </Type>

The CustomAttribute marker is from a rename of an internal type.

@Mpdreamz Mpdreamz merged commit 510865f into 6.x Jan 15, 2019
@Mpdreamz Mpdreamz deleted the fix/field-bwc branch January 15, 2019 13:01
Mpdreamz added a commit that referenced this pull request Jan 24, 2019
* Return overloads that do not take format on Field in 6.x, removing them was a bwc breaking change

* Remove ambiguity on Field constructor and Field static methods on Infer

* Fixed overload of Field on static infer still being nullable, and chain methods And on Field

* string overload on field constructor needed fixing too
Mpdreamz added a commit that referenced this pull request Jan 25, 2019
* Return overloads that do not take format on Field in 6.x, removing them was a bwc breaking change

* Remove ambiguity on Field constructor and Field static methods on Infer

* Fixed overload of Field on static infer still being nullable, and chain methods And on Field

* string overload on field constructor needed fixing too
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants