Skip to content
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

Git ref #30

Open
wants to merge 49 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
3ef76c1
Call the class fromJson if _className_ isn't specified
miklcct May 16, 2024
71b8363
add explicitToJson annotation
miklcct May 16, 2024
538f25e
Merge remote-tracking branch 'refs/remotes/origin/configurable-explic…
miklcct May 16, 2024
49c6fd2
Support property name shadowing global types such as Type, String, In…
miklcct May 17, 2024
71eaeb3
Merge branch 'refs/heads/avoid_global_types'
miklcct May 17, 2024
a2b2741
add warning suppression for underscored types
miklcct May 17, 2024
902a087
Merge branch 'refs/heads/avoid_global_types'
miklcct May 17, 2024
941eb6b
only add typedefs if there are some outputs
miklcct May 17, 2024
83bfbeb
Merge branch 'refs/heads/avoid_global_types'
miklcct May 17, 2024
9c9aac5
disable all linter rules on generated files
miklcct May 17, 2024
8783e74
Merge branch 'refs/heads/flutter_warnings'
miklcct May 17, 2024
87bcafd
__List is not always used in generated files
miklcct May 17, 2024
0dd82f9
Merge branch 'refs/heads/avoid_global_types'
miklcct May 17, 2024
5267788
fixed naming
arrrrny Dec 3, 2024
92fab97
updated readme and changelog
arrrrny Dec 3, 2024
1c2270f
updated readme
arrrrny Dec 3, 2024
e5724ed
Merge branch 'master' into master
arrrrny Dec 3, 2024
bb94af5
change method name toJson_2 to toKsonCustom
arrrrny Dec 3, 2024
d017331
changed version to 2.0.0 to avoid confusions
arrrrny Dec 3, 2024
afa33eb
added back the throwing error if class type is not supported
arrrrny Dec 3, 2024
09eed66
dependency override to reference from git
arrrrny Dec 3, 2024
df83497
git referencing
arrrrny Dec 3, 2024
c19d178
git madness
arrrrny Dec 3, 2024
044325f
git refe
arrrrny Dec 3, 2024
116c7cf
we need the default FromJson
arrrrny Dec 3, 2024
ebd55ef
added toJsonClean to easily extract data to be used outside
arrrrny Dec 3, 2024
0ac3997
added toJsonLean and fromJsonLean to better intregrate to external sy…
arrrrny Dec 3, 2024
a4a99c4
updated version
arrrrny Dec 3, 2024
7b0b35a
refactored to support subtypes from different files
arrrrny Dec 4, 2024
b425fb0
better layout
arrrrny Dec 4, 2024
8ca52f9
checkpoint
arrrrny Dec 4, 2024
6b2a24a
throw error for neccessary imports
arrrrny Dec 4, 2024
411751c
version to 2.0.0
arrrrny Dec 4, 2024
2708261
added compareTo jsonHeader as default to true to set compareTo method
arrrrny Dec 5, 2024
7e5bdd4
fixed wron jsonserializable annotation
arrrrny Dec 5, 2024
acb2653
added non null for nullable but not null field
arrrrny Dec 5, 2024
1c2acd6
annotations update
arrrrny Dec 5, 2024
4400780
added Patch type definition
arrrrny Dec 5, 2024
52fbb8a
added more types to primitive compare
arrrrny Dec 5, 2024
d23be1b
supporting nested compareToEnum nested name
arrrrny Dec 6, 2024
b5d1141
implemented comprehensive non primitive type comparisons and enum com…
arrrrny Dec 6, 2024
7339c12
all tests pass with changes for ability to reference from external fi…
arrrrny Dec 8, 2024
ed426bf
added tests for toJsonLean
arrrrny Dec 8, 2024
91369c2
type safe entity patch
arrrrny Dec 14, 2024
657159f
copyWith and changeTo works
arrrrny Dec 14, 2024
14968f1
required fields handled
arrrrny Dec 15, 2024
65cdda7
completed patch
arrrrny Dec 16, 2024
66fd143
added Path interface
arrrrny Dec 16, 2024
225c7fd
gracefully handle toJsonLean and toJson on patches
arrrrny Dec 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
changed version to 2.0.0 to avoid confusions
arrrrny committed Dec 3, 2024
commit d01733149c7d97503053c724323ceafff5452e07
4 changes: 2 additions & 2 deletions morphy/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## 1.4.0
- BREAKING CHANGE! copyWith_A is now copyWithA and changeTo_A is now changeToA
## 2.0.0
- BREAKING CHANGES! copyWith_A is now copyWithA and changeTo_A is now changeToA
- This is to make the naming more consistent with dart conventions
- merged the PRs that allow to set explicitToJson false
- Call the class fromJson if _className_ isn't specified
10 changes: 5 additions & 5 deletions morphy/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: morphy
description: Provides a clean class definition with extra functionality including; copy with, json serializable, tostring, equals that supports inheritance and polymorphism
version: 1.5.0
version: 2.0.0
homepage: https://github.com/atreeon/morphy

environment:
sdk: ">=3.1.3 <4.0.0"

dependency_overrides:
morphy_annotation:
path: ../morphy_annotation
# dependency_overrides:
# morphy_annotation:
# path: ../morphy_annotation

dependencies:
morphy_annotation: ^1.3.0
morphy_annotation: ^2.0.0
analyzer: ">=6.0.0 <=7.0.0"
build: ^2.1.0
source_gen: ^1.1.1
2 changes: 1 addition & 1 deletion morphy_annotation/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: morphy_annotation
description: annotation for morphy which provides a clean class definition with extra functionality including; copy with, json serializable, tostring, equals that supports inheritance and polymorphism
version: 1.4.0
version: 2.0.0
homepage: https://github.com/atreeon/morphy

environment: