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

feat: add @envied annotation with default options #92

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

Nikoro
Copy link
Contributor

@Nikoro Nikoro commented Feb 28, 2024

I've added simplified version on annotation with default options.

Instead of writing this:

@Envied()

Now we can write this as well:

@envied

Same convention is used in @freezed or @riverpod

@techouse
Copy link
Collaborator

techouse commented Feb 28, 2024

@Nikoro would you mind fixing the error?

@Nikoro Nikoro force-pushed the feat/simple-annotation branch 2 times, most recently from 3d9dd2e to c0eb5e8 Compare February 28, 2024 21:09
@Nikoro Nikoro force-pushed the feat/simple-annotation branch from c0eb5e8 to c232a11 Compare February 29, 2024 14:56
Copy link
Collaborator

@techouse techouse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@techouse techouse merged commit 8eb64ed into petercinibulk:main Feb 29, 2024
3 checks passed
@techouse
Copy link
Collaborator

Thank your for your contribution @Nikoro

@Nikoro
Copy link
Contributor Author

Nikoro commented Feb 29, 2024

I'm happy to help. Glad I could contribute 😄

techouse added a commit that referenced this pull request Mar 11, 2024
### Changes

---

Packages with breaking changes:

 - There are no breaking changes in this release.

### Packages with other changes:

 - [`envied` - `v0.5.4`](#envied---v054)
 - [`envied_generator` - `v0.5.4`](#enviedgenerator---v054)

---

#### `envied` - `v0.5.4`

 - **FEAT**: add support for raw strings and no interpolation (#95)
 - **FEAT**: add @envied annotation with default options (#92)

#### `envied_generator` - `v0.5.4`

 - **FEAT**: add support for raw strings and no interpolation (#95)
@techouse techouse mentioned this pull request Mar 11, 2024
petercinibulk pushed a commit that referenced this pull request Apr 2, 2024
### Changes

---

Packages with breaking changes:

 - There are no breaking changes in this release.

### Packages with other changes:

 - [`envied` - `v0.5.4`](#envied---v054)
 - [`envied_generator` - `v0.5.4`](#enviedgenerator---v054)

---

#### `envied` - `v0.5.4`

 - **FEAT**: add support for raw strings and no interpolation (#95)
 - **FEAT**: add @envied annotation with default options (#92)

#### `envied_generator` - `v0.5.4`

 - **FEAT**: add support for raw strings and no interpolation (#95)
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