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

フォームドメインのリファクタリング #634

Draft
wants to merge 33 commits into
base: main
Choose a base branch
from

feat: Verified 型を用いてAnswerEntryのPostを表現する

998c919
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

フォームドメインのリファクタリング #634

feat: Verified 型を用いてAnswerEntryのPostを表現する
998c919
Select commit
Loading
Failed to load commit list.
GitHub Actions / rustfmt failed Dec 30, 2024 in 1s

rustfmt

5 files, 14 counts

Details

Results

Format checked Amount
Files 5
Count 14

Versions

  • rustc 1.85.0-nightly (d10a6823f 2024-11-29)

  • cargo 1.85.0-nightly (4c39aaff6 2024-11-25)

  • rustfmt 1.8.0-nightly (d10a6823f4 2024-11-29)

Annotations

Check warning on line 20 in /home/runner/work/seichi-portal-backend/seichi-portal-backend/server/usecase/src/forms/answer.rs

See this annotation in the file changed.

@github-actions github-actions / rustfmt

rustfmt check

Original:

              ```
              
              ```
            
Expected:

              ```
              
use crate::dto::AnswerDto;

              ```
            

Check warning on line 16 in /home/runner/work/seichi-portal-backend/seichi-portal-backend/server/usecase/src/forms/answer.rs

See this annotation in the file changed.

@github-actions github-actions / rustfmt

rustfmt check

Original:

              ```
              
              ```
            
Expected:

              ```
                  types::verified::Verifier,

              ```
            

Check warning on line 7 in /home/runner/work/seichi-portal-backend/seichi-portal-backend/server/usecase/src/forms/answer.rs

See this annotation in the file changed.

@github-actions github-actions / rustfmt

rustfmt check

Original:

              ```
                      answer::models::{AnswerId, FormAnswerContent},

              ```
            
Expected:

              ```
                      answer::{
            models::{AnswerEntry, AnswerId, FormAnswerContent},
            service::PostAnswerEntriesVerifier,
        },

              ```
            

Check warning on line 1 in /home/runner/work/seichi-portal-backend/seichi-portal-backend/server/usecase/src/forms/answer.rs

See this annotation in the file changed.

@github-actions github-actions / rustfmt

rustfmt check

Original:

              ```
              use crate::dto::AnswerDto;
use domain::form::answer::models::AnswerEntry;
use domain::form::answer::service::PostAnswerEntriesVerifier;
use domain::types::verified::Verifier;

              ```
            
Expected:

              ```
              
              ```
            

Check warning on line 16 in /home/runner/work/seichi-portal-backend/seichi-portal-backend/server/infra/resource/src/repository/form_repository_impls/answer_repository_impl.rs

See this annotation in the file changed.

@github-actions github-actions / rustfmt

rustfmt check

Original:

              ```
              
              ```
            
Expected:

              ```
              
use crate::{
    database::components::{DatabaseComponents, FormAnswerDatabase},
    repository::Repository,
};

              ```
            

Check warning on line 13 in /home/runner/work/seichi-portal-backend/seichi-portal-backend/server/infra/resource/src/repository/form_repository_impls/answer_repository_impl.rs

See this annotation in the file changed.

@github-actions github-actions / rustfmt

rustfmt check

Original:

              ```
              
              ```
            
Expected:

              ```
                  types::verified::Verified,

              ```
            

Check warning on line 6 in /home/runner/work/seichi-portal-backend/seichi-portal-backend/server/infra/resource/src/repository/form_repository_impls/answer_repository_impl.rs

See this annotation in the file changed.

@github-actions github-actions / rustfmt

rustfmt check

Original:

              ```
              use domain::types::verified::Verified;

              ```
            
Expected:

              ```
              
              ```
            

Check warning on line 1 in /home/runner/work/seichi-portal-backend/seichi-portal-backend/server/infra/resource/src/repository/form_repository_impls/answer_repository_impl.rs

See this annotation in the file changed.

@github-actions github-actions / rustfmt

rustfmt check

Original:

              ```
              use crate::{
    database::components::{DatabaseComponents, FormAnswerDatabase},
    repository::Repository,
};

              ```
            
Expected:

              ```
              
              ```
            

Check warning on line 9 in /home/runner/work/seichi-portal-backend/seichi-portal-backend/server/domain/src/repository/form/answer_repository.rs

See this annotation in the file changed.

@github-actions github-actions / rustfmt

rustfmt check

Original:

              ```
              use crate::types::verified::Verified;

              ```
            
Expected:

              ```
              
              ```
            

Check warning on line 5 in /home/runner/work/seichi-portal-backend/seichi-portal-backend/server/domain/src/repository/form/answer_repository.rs

See this annotation in the file changed.

@github-actions github-actions / rustfmt

rustfmt check

Original:

              ```
              use crate::form::{
    answer::models::{AnswerEntry, AnswerId, FormAnswerContent},
    models::FormId,

              ```
            
Expected:

              ```
              use crate::{
    form::{
        answer::models::{AnswerEntry, AnswerId, FormAnswerContent},
        models::FormId,
    },
    types::verified::Verified,

              ```
            

Check warning on line 12 in /home/runner/work/seichi-portal-backend/seichi-portal-backend/server/domain/src/form/answer/service.rs

See this annotation in the file changed.

@github-actions github-actions / rustfmt

rustfmt check

Original:

              ```
              
              ```
            
Expected:

              ```
                  types::verified::{Verified, Verifier},

              ```
            

Check warning on line 5 in /home/runner/work/seichi-portal-backend/seichi-portal-backend/server/domain/src/form/answer/service.rs

See this annotation in the file changed.

@github-actions github-actions / rustfmt

rustfmt check

Original:

              ```
              use crate::types::verified::{Verified, Verifier};

              ```
            
Expected:

              ```
              
              ```
            

Check warning on line 7 in /home/runner/work/seichi-portal-backend/seichi-portal-backend/server/domain/src/form/answer/models.rs

See this annotation in the file changed.

@github-actions github-actions / rustfmt

rustfmt check

Original:

              ```
              use std::collections::HashMap;

              ```
            
Expected:

              ```
              
              ```
            

Check warning on line 1 in /home/runner/work/seichi-portal-backend/seichi-portal-backend/server/domain/src/form/answer/models.rs

See this annotation in the file changed.

@github-actions github-actions / rustfmt

rustfmt check

Original:

              ```
              
              ```
            
Expected:

              ```
              use std::collections::HashMap;


              ```